Problem with assigning unicode string to ansi string

[b][red]This message was edited by mmaharaj at 2004-12-23 6:33:52[/red][/b][hr]
Hi All,
I can convert the unicode string to ansi string(CString) when i set the locale(japanese) in regional options. That was showed like come ascii chars(,"&#&#). If i set the locale to english, then the ascii chars showed as ??? marks. But the need is the unicode convert into some ascii chars like from japanse locale. I tried to set the locale using setlocale() method. But there is no effect. I wrote the code is
The default locale is not set. I want to set the default locale dynamically. If anyone have the solution about this problem, please let me know.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!