Home » U++ Library support » U++ Core » [SOLVED] String.GetCount with umlaut
Re: String.GetCount with umlaut [message #33710 is a reply to message #33709] |
Wed, 07 September 2011 08:27 |
|
forlano
Messages: 1189 Registered: March 2006 Location: Italy
|
Senior Contributor |
|
|
forlano wrote on Wed, 07 September 2011 08:20 |
Perhaps I must convert the name to some other encoding before to save them let go to try ...
|
Solved!
out << NFormat(" %-32.32s ", ToCharset(CHARSET_WIN1252, player[i].name, CHARSET_UTF8 ));
work
With notepad and wordpad the accent are ok and name aligned (problem solved after 5 years), but within my app (UTF8 encoded) they are disappeared. This last behaviour should be normal.
The new questions are now:
1) which CHARSET_WIN??? should I use for my text file in Windows in case of latin letter to accomodate the maximum number of accents (German, Italian, Danish, French...)?
2) do I need to convert even under Linux to prevent this problem?
I have no experience on this matter.
Luigi
[Updated on: Wed, 07 September 2011 08:35] Report message to a moderator
|
|
|
|
|
[SOLVED] String.GetCount with umlaut
By: forlano on Tue, 06 September 2011 23:12
|
|
|
Re: String.GetCount with umlaut
By: forlano on Wed, 07 September 2011 08:20
|
|
|
Re: String.GetCount with umlaut
By: forlano on Wed, 07 September 2011 08:27
|
|
|
Re: String.GetCount with umlaut
By: mirek on Wed, 07 September 2011 09:46
|
|
|
Re: String.GetCount with umlaut
By: mirek on Wed, 07 September 2011 09:57
|
|
|
Re: String.GetCount with umlaut
By: forlano on Wed, 07 September 2011 10:09
|
|
|
Re: String.GetCount with umlaut
By: forlano on Wed, 07 September 2011 11:11
|
|
|
Re: String.GetCount with umlaut
By: mr_ped on Wed, 07 September 2011 09:47
|
|
|
Re: String.GetCount with umlaut
By: mr_ped on Thu, 08 September 2011 09:50
|
|
|
Re: String.GetCount with umlaut
By: forlano on Thu, 08 September 2011 21:17
|
|
|
Re: String.GetCount with umlaut
By: mirek on Fri, 09 September 2011 10:20
|
|
|
Re: String.GetCount with umlaut
By: mirek on Fri, 09 September 2011 12:43
|
|
|
Re: String.GetCount with umlaut
By: forlano on Fri, 09 September 2011 14:08
|
|
|
Re: String.GetCount with umlaut
By: forlano on Thu, 15 September 2011 09:32
|
|
|
Re: String.GetCount with umlaut
By: mirek on Thu, 15 September 2011 11:38
|
Goto Forum:
Current Time: Wed Jun 05 11:46:51 CEST 2024
Total time taken to generate the page: 0.02382 seconds
|