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 |
|
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
|
|
|
|
|
some non-english characters don't display
By: hojtsy on Thu, 09 February 2006 14:44
|
|
|
Re: some non-english characters don't display
By: riri on Thu, 09 February 2006 17:46
|
|
|
Re: some non-english characters don't display
By: dr_jumba on Sun, 26 February 2006 20:29
|
|
|
Re: some non-english characters don't display
By: mirek on Sun, 26 February 2006 20:58
|
|
|
Re: some non-english characters don't display
By: dr_jumba on Mon, 27 February 2006 21:31
|
|
|
Re: some non-english characters don't display
By: mirek on Mon, 27 February 2006 21:37
|
|
|
Re: some non-english characters don't display
By: dr_jumba on Mon, 27 February 2006 22:09
|
|
|
Re: some non-english characters don't display
By: mirek on Mon, 27 February 2006 22:19
|
|
|
Re: some non-english characters don't display
By: mirek on Mon, 27 February 2006 22:25
|
|
|
Re: some non-english characters don't display
By: dr_jumba on Sat, 04 March 2006 00:01
|
|
|
Re: some non-english characters don't display
By: mirek on Sat, 04 March 2006 00:15
|
|
|
Re: some non-english characters don't display
By: dr_jumba on Sat, 04 March 2006 00:18
|
|
|
Re: some non-english characters don't display
By: mirek on Sat, 04 March 2006 07:45
|
|
|
Re: some non-english characters don't display
By: dr_jumba on Sat, 04 March 2006 12:21
|
|
|
Re: some non-english characters don't display
By: mirek on Sat, 04 March 2006 13:32
|
|
|
Re: some non-english characters don't display
By: Raygun on Fri, 04 August 2006 13:31
|
|
|
Re: some non-english characters don't display
By: fudadmin on Fri, 04 August 2006 13:48
|
|
|
Re: some non-english characters don't display
By: Raygun on Fri, 04 August 2006 14:16
|
|
|
Re: some non-english characters don't display
By: fudadmin on Fri, 04 August 2006 22:48
|
|
|
Re: some non-english characters don't display
By: mirek on Sat, 05 August 2006 17:04
|
|
|
Re: some non-english characters don't display
By: Raygun on Sun, 06 August 2006 12:35
|
Goto Forum:
Current Time: Thu Apr 25 09:49:32 CEST 2024
Total time taken to generate the page: 0.02523 seconds
|