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 #26896 is a reply to message #26865] Mon, 07 June 2010 10:24 Go to previous messageGo to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

Mindtraveller wrote on Fri, 04 June 2010 10:02

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.


The problem is still there. Confused
 
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: Thu Aug 28 16:45:40 CEST 2025

Total time taken to generate the page: 0.06788 seconds