Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / wxString::UpperCase() does not work properly

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. wxString::UpperCase() does not work properly
#2841
Posted by: 2003-11-02 23:17:44
It looks like wxString::UpperCase works only with ASCII-7 characters. If I use Latin-1, it does not work. For example, it does not convert "à" to "?", or "?" to "?". Any way to fix this???

DdJ
Message2. Re: wxString::UpperCase() does not work properly
#2847
Posted by: 2003-11-03 05:36:10
Well, I recompiled wxWindows for Unicode, as suggested by upcase. I had to change some instruction, but at last I was able to generate a Unicode enabled executable. Now I can read all charsets, and use wxCVConv to convert from/to various encoding, Unicode included. The problem is that when I use encodings like iso-8859-5 (Cyrillic), UpperCase do not work. I need a way to upper case iso-8859-x strings..... But how?

DdJ
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥900.00 ·
 
 
¥860.00 ·
 
 
¥1,420.00 ·
 
 
¥288.00 ·
 
 
 
 
¥890.00 ·
© Mon 2024-11-11  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0