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: 1212 Registered: March 2007
|
Senior 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: Thu Mar 28 19:59:50 CET 2024
Total time taken to generate the page: 0.01449 seconds
|