Home » U++ Library support » U++ Core » conversion from String to wchar_t
conversion from String to wchar_t [message #46125] |
Sat, 12 March 2016 16:31  |
 |
forlano
Messages: 1207 Registered: March 2006 Location: Italy
|
Senior Contributor |
|
|
Hello,
I'm using an external library that write Excel file (LibXL).
In many functions it uses
wchar_t
as argument. My string are instead simple String although UTF8 encoded. The result is that in the Excel file the accented characters are not displayed correctly.
I tried to convert String to wchar_t but my temptive ended in compiler complains. Is there a way to transform a String in a wchar_t?
Is WString related to wchar_t?
Moreover this library uses to denote a string in this way: L"mystring". My MSCV compiler complain although I included
<wchar.h>. Do we have an UPP equivalent of this weird stuff?
Thanks,
Luigi
[Updated on: Sat, 12 March 2016 16:36] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Sun May 11 11:55:43 CEST 2025
Total time taken to generate the page: 0.02612 seconds
|