develooper Front page | perl.perl5.porters | Postings from June 2012

[perl #113536] GetEnvironmentStrings() mess up the values for non-ascii strings

Thread Previous | Thread Next
From:
Karthik Rajagopalan via RT
Date:
June 13, 2012 02:37
Subject:
[perl #113536] GetEnvironmentStrings() mess up the values for non-ascii strings
Message ID:
rt-3.6.HEAD-5009-1339515675-693.113536-15-0@perl.org

> That was mistake on my part not to pass WC_NO_BEST_FIT_CHARS in acutal 
> conversion call from UTF-16 to ACP. I will revise the patch and sent 
it 
> now.
> 
> BTW, I don't think the win32 code would really work if UTF-8 is 
> internally used for conversion. I see we use lot of calls toUpper, 
> tolower which would not really work with utf-8 directly. So it is good 
> if ACP is used.
> 
> -Karthik

I now fixed the patch to use WC_NO_BEST_FIT_CHARS in the actual 
conversion call. Please give a shot.

-Karthik

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=113536

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About