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++ Libraries and TheIDE: i18n, Unicode and Internationalization » some non-english characters don't display
Re: some non-english characters don't display [message #1320 is a reply to message #1317] Mon, 27 February 2006 22:25 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
luzr wrote on Mon, 27 February 2006 16:19

dr_jumba wrote on Mon, 27 February 2006 16:09

I have set 'koi8-r' everywhere in file properties, package organizer and setup for environment. Still can't type cyrillic.

Output of 'locale' is the following:
LANG=ru_RU.KOI8-R
LC_CTYPE="ru_RU.KOI8-R"
LC_COLLATE="ru_RU.KOI8-R"
LC_TIME="ru_RU.KOI8-R"
LC_NUMERIC="ru_RU.KOI8-R"
LC_MONETARY="ru_RU.KOI8-R"
LC_MESSAGES="ru_RU.KOI8-R"
LC_ALL=


One more thing. ide falls to core when I try to set encoding in package organizer to two or more packages simultanuosly without pressing OK button.


Ahh, sorry, as you were speaking about Courier, I came to conclusion you are speaking about Win32.

Well, I think that this is a bug (or rather unimplemented feature). So far, U++ was tested with (and developed for) UTF-8 linux systems.

You can check the code in CtrlCore/X11Proc.cpp around line 137.

Mirek



Staring at the code

				Status status;
				int len = XmbLookupString(w.xic, &event->xkey, buff, sizeof(buff), &keysym, &status);
				buff[len] = 0;
				if(status == XLookupChars || status == XLookupBoth)
				    chr = FromUtf8(buff, len)[0];



I think that the problem is that instead of FromUtf8 (only) there should be general conversion based on current locale...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon9.gif
Read Message
Read Message icon9.gif
Read Message
Read Message
Read Message icon10.gif
Previous Topic: Code that needs to be internationalized
Next Topic: How to display several languages without translation files?
Goto Forum:
  


Current Time: Thu Apr 25 09:49:32 CEST 2024

Total time taken to generate the page: 0.02523 seconds