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 » Problem and fix in LocalProcess
Re: Problem and fix in LocalProcess [message #28558 is a reply to message #28550] Tue, 07 September 2010 05:33 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
koldo wrote on Mon, 06 September 2010 11:44

Hello Mirek

Now LocalProcess::Read(String& res) function in Windows includes this in LocalProcess.cpp line 341:

	res.Cat(buffer, n);

It should be replaced with this:

	res.Cat(FromSystemCharset(buffer), n);


This way accents and other chars are not lost.


Should not it rather be

res = FromSystemCharset(String(buffer, n)))

?!

Frankly, we are perhaps missing FromSystemCharser(const char *, int count) variant here, I guess...
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem and fix in HexString
Next Topic: DLI doc fix
Goto Forum:
  


Current Time: Tue Aug 26 16:53:56 CEST 2025

Total time taken to generate the page: 0.04612 seconds