Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » BUG: Serious problem with Core/CharSet
Re: BUG: Serious problem with Core/CharSet [message #26865 is a reply to message #26864] Fri, 04 June 2010 08:02 Go to previous messageGo to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

There is definitely something wrong with charset conversion:
CONSOLE_APP_MAIN
{
	Cout() << "\n";
	String s = ToCharset(CHARSET_CP866, "Всем привет!", CHARSET_UTF8);
	for (int i=0; i<s.GetLength(); ++i)
		Cout() << Format("%02X ", s[i]);
}

gives output:
1F 1F 1F 1F 20 1F 1F 1F 1F 1F 1F 21

which means no Russian characters are actually converted.
 
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon12.gif
Read Message
Read Message
Previous Topic: String: Add Method ReversFind:
Next Topic: double equals nothing
Goto Forum:
  


Current Time: Tue May 14 00:03:31 CEST 2024

Total time taken to generate the page: 0.02535 seconds