U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » Environment variables code page
Re: Environment variables code page [message #22547 is a reply to message #22538] Sun, 26 July 2009 11:21 Go to previous message
cbpporter is currently offline  cbpporter
Messages: 1428
Registered: September 2007
Ultimate Contributor
Zbych wrote on Sat, 25 July 2009 14:05


GetEnv function uses FromSystemCharset to convert code page, but environment variables in windows use OEM not ANSI code page.


This must be the reason why Unicode strings where not recognized in environment variables. I proposed a solution here, but I guess this will work a lot better. I'll try to see if it works correctly.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: string filtering bug
Next Topic: GZDecompress bug
Goto Forum:
  


Current Time: Sun Apr 26 05:51:05 GMT+2 2026

Total time taken to generate the page: 0.00581 seconds