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 » ArrayCtrl, HeaderCtrl & GridCtrl » [SOLVED] ArrayCtrl and German characters
Re: ArrayCtrl and German characters [message #33672 is a reply to message #33671] Mon, 05 September 2011 12:43 Go to previous message
forlano is currently offline  forlano
Messages: 1215
Registered: March 2006
Location: Italy
Senior Contributor
mirek wrote on Mon, 05 September 2011 11:31

Apparently, the source .csv is in Win-1252 encoding, which is something U++ has zero chance to know...

You have to convert from Win1252 to utf-8.

ToCharset(CHARSET_UTF8, text, CHARSET_WIN1252);

should do the job...

Mirek


After converting the file it work!

String ss, s = LoadFile("spieler.csv");
ss = ToCharset(CHARSET_UTF8, s, CHARSET_WIN1252);
SaveFile("spielerNEW.csv", ss);

Thanks,
Luigi

[Updated on: Tue, 06 September 2011 12:59]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: GridCtrl: master - detail
Next Topic: GridCtrl compilation error in version 3878
Goto Forum:
  


Current Time: Mon Sep 01 19:08:27 CEST 2025

Total time taken to generate the page: 0.05435 seconds