Home » U++ Library support » U++ Core » LaunchWebBrowser() requires ToSystemCharset() to work properly
LaunchWebBrowser() requires ToSystemCharset() to work properly [message #35405] |
Fri, 10 February 2012 14:47  |
Tom1
Messages: 1303 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi,
I just noticed on Windows 7 that Calling LaunchWebBrowser() requires the url String (including rare characters) to be converted to system charset with ToSystemCharset() before calling:
LaunchWebBrowser(ToSystemCharset(Format("%s%s",directory,file)));
Is this the intention? I can live with this now that I know it, but would seem more logical to embed the conversion within the LaunchWebBrowser() function. I did not try it on Linux yet to see how it reacts.
Best regards,
Tom
|
|
|
|
Goto Forum:
Current Time: Wed Jun 11 00:40:21 CEST 2025
Total time taken to generate the page: 0.04346 seconds
|