Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums
Members
Pages
Search
Help
Register
Login
Home
Home
»
U++ Library support
»
U++ Core
»
Problem and fix in LocalProcess
Show:
Today's Messages
::
Show Polls
::
Message Navigator
E-mail to friend
Re: Problem and fix in LocalProcess
[
message #28560
is a reply to
message #28558
]
Tue, 07 September 2010 08:42
koldo
Messages:
3443
Registered:
August 2008
Senior Veteran
luzr wrote on Tue, 07 September 2010 05:33
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...
Hello Mirek
For me Cat was good but really you have a finer grain view.
However you are right. It seems FromSystemCharser(const char *, int count) would be the best option.
Best regards
IƱaki
Report message to a moderator
[
Message index
]
Problem and fix in LocalProcess
By:
koldo
on Mon, 06 September 2010 17:44
Re: Problem and fix in LocalProcess
By:
mirek
on Tue, 07 September 2010 05:33
Re: Problem and fix in LocalProcess
By:
koldo
on Tue, 07 September 2010 08:42
Re: Problem and fix in LocalProcess
By:
mirek
on Tue, 07 September 2010 18:06
Previous Topic:
Problem and fix in HexString
Next Topic:
DLI doc fix
Goto Forum:
- Community
U++ community news and announcements
PR, media coverage, articles and documentation
U++ Webs: Functioning, Layout , Design, Features and Structure of these forums, homepage etc.
Coffee corner
Newbie corner
U++ based job offers
- Developing U++
U++ Developers corner
External resources
Releasing U++
UppHub
Bugs (& fixes)
Documentation
U++ TheIDE and Library: Releases and ChangeLogs
Mac OS
Android
- U++ Library support
U++ Library : Other (not classified elsewhere)
U++ Core
Look and Chameleon Technology
U++ Libraries and TheIDE: i18n, Unicode and Internationalization
U++ SQL
U++ MT-multithreading and servers
U++ Callbacks and Timers
U++ Widgets - General questions or Mixed problems
TopWindow&PopUp, TrayIcon
Menus&Toolbars
StatusBar&InfoCtrl
Splitter
TabCtrl
Slider&ProgressIndicator
ArrayCtrl, HeaderCtrl & GridCtrl
TreeCtrl
RichText,QTF,RTF...
LineEdit, EditFields, DocEdit
Draw, Display, Images, Bitmaps, Icons
FileSel&FileList, Path
CalendarCtrl
Skylark
ScatterDraw & ScatterCtrl
Archive
- U++ TheIDE
U++ TheIDE: Other Features Wishlist and/or Bugs
U++ TheIDE: Compiling, Linking, Debugging of your packages
U++ TheIDE: Installation, Compiling and Running of theide
U++ TheIDE: CodeEditor, Assist++, Topic++
U++ TheIDE: Packages
U++ TheIDE: Layout (Forms) Designer
U++ TheIDE: Icon designer
- Extra libraries, Code snippets, applications etc.
U++ users applications in progress and useful code snippets, including reference examples!
U++ Esc Interpreter, Esc Macros and templates
U++ and AI
C++ language problems and code snippets
Applications created with U++
OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc
-=]
Back to Top
[=-
[
Syndicate this forum (XML)
] [
] [
]
Current Time:
Tue Aug 26 22:20:40 CEST 2025
Total time taken to generate the page: 0.04168 seconds