Comment #21 on issue 876 by Matti.Laakso: UTF-8 support broken in Linux and  
MacOsX - workaround available
http://code.google.com/p/openmeetings/issues/detail?id=876

When loading the application, no red coloured errors anymore

Typing to the chat letter:
ä prints:
System.capabilities.os -- START  Linux 2.6.24-24-generic ä
lastChar  Ã
lastChar CharCode  164
i 1 2
DO WHILE -1-  164 undefined 1 128 191
DO WHILE -2-  164 undefined 1
Replace String -1-  ä 228
Replace String -2-  ä 228
-- END  ä
System.capabilities.os -- START  Linux 2.6.24-24-generic ä
lastChar  Ã
lastChar CharCode  164
i 0 1
DO WHILE -1-  195 undefined 0 128 191
i == d NOTHING TO REPLACE!

ö prints:
System.capabilities.os -- START  Linux 2.6.24-24-generic
System.capabilities.os -- START  Linux 2.6.24-24-generic ö
lastChar  Ã
lastChar CharCode  182
i 1 2
DO WHILE -1-  182 undefined 1 128 191
DO WHILE -2-  182 undefined 1
Replace String -1-  ö 246
Replace String -2-  ö 246
-- END  ö
System.capabilities.os -- START  Linux 2.6.24-24-generic ö
lastChar  Ã
lastChar CharCode  182
i 0 1
DO WHILE -1-  195 undefined 0 128 191
i == d NOTHING TO REPLACE!

Ä prints:
System.capabilities.os -- START  Linux 2.6.24-24-generic
System.capabilities.os -- START  Linux 2.6.24-24-generic Ä
lastChar  Ã
lastChar CharCode  8222
i 1 2
DO WHILE -1-  8222 132 1 128 191
DO WHILE -2-  8222 132 1
Replace String -1-  Ä 196
Replace String -2-  Ä 196
-- END  Ä
System.capabilities.os -- START  Linux 2.6.24-24-generic Ä
lastChar  Ã
lastChar CharCode  8222
i 0 1
DO WHILE -1-  195 undefined 0 128 191
i == d NOTHING TO REPLACE!

Ö prints:
System.capabilities.os -- START  Linux 2.6.24-24-generic
System.capabilities.os -- START  Linux 2.6.24-24-generic Ö
lastChar  Ã
lastChar CharCode  8211
i 1 2
DO WHILE -1-  8211 150 1 128 191
DO WHILE -2-  8211 150 1
Replace String -1-  Ö 214
Replace String -2-  Ö 214
-- END  Ö
System.capabilities.os -- START  Linux 2.6.24-24-generic Ö
lastChar  Ã
lastChar CharCode  8211
i 0 1
DO WHILE -1-  195 undefined 0 128 191
i == d NOTHING TO REPLACE!

å prints:
System.capabilities.os -- START  Linux 2.6.24-24-generic
System.capabilities.os -- START  Linux 2.6.24-24-generic å
lastChar  Ã
lastChar CharCode  165
i 1 2
DO WHILE -1-  165 undefined 1 128 191
DO WHILE -2-  165 undefined 1
Replace String -1-  å 229
Replace String -2-  å 229
-- END  å
System.capabilities.os -- START  Linux 2.6.24-24-generic å
lastChar  Ã
lastChar CharCode  165
i 0 1
DO WHILE -1-  195 undefined 0 128 191
i == d NOTHING TO REPLACE!

Å prints:
System.capabilities.os -- START  Linux 2.6.24-24-generic
System.capabilities.os -- START  Linux 2.6.24-24-generic Ã…
lastChar  Ã
lastChar CharCode  8230
i 1 2
DO WHILE -1-  8230 133 1 128 191
DO WHILE -2-  8230 133 1
Replace String -1-  Ã… 197
Replace String -2-  Ã… 197
-- END  Ã…
System.capabilities.os -- START  Linux 2.6.24-24-generic Ã…
lastChar  Ã
lastChar CharCode  8230
i 0 1
DO WHILE -1-  195 undefined 0 128 191
i == d NOTHING TO REPLACE!

When typing älä:
System.capabilities.os -- START  Linux 2.6.24-24-generic ä
lastChar  Ã
lastChar CharCode  164
i 1 2
DO WHILE -1-  164 undefined 1 128 191
DO WHILE -2-  164 undefined 1
Replace String -1-  ä 228
Replace String -2-  ä 228
-- END  ä
System.capabilities.os -- START  Linux 2.6.24-24-generic ä
lastChar  Ã
lastChar CharCode  164
i 0 1
DO WHILE -1-  195 undefined 0 128 191
i == d NOTHING TO REPLACE!
System.capabilities.os -- START  Linux 2.6.24-24-generic Ãl¤
lastChar  l
lastChar CharCode  164
i 1 2
DO WHILE -1-  108 undefined 1 128 191
i == d NOTHING TO REPLACE!
hibRtmpConnection/refreshSession [ ok ]
System.capabilities.os -- START  Linux 2.6.24-24-generic Ãlä¤
lastChar  ¤
lastChar CharCode  164
i 3 4
DO WHILE -1-  164 undefined 3 128 191
DO WHILE -2-  164 undefined 3
Replace String -1-  Ãlä¤ 228
Replace String -2-  Ãlä¤ 228
-- END  Ãlä¤
System.capabilities.os -- START  Linux 2.6.24-24-generic Ãlä¤
lastChar  ¤
lastChar CharCode  164
i 3 4
DO WHILE -1-  164 undefined 3 128 191
DO WHILE -2-  164 undefined 3
Replace String -1-  Ãlä¤ 228
Replace String -2-  Ãlä¤ 228
-- END  Ãlä¤

So when I type a word älä, it first prints ä and the cursos stays between  
those
letters, when typin L from the word, it adds the l (L) between those two ->  
resulting
Ãl¤ and then pressing the last ä results total of this: Ãlä¤ when it  
should be this älä.

Is this what you wanted, or what :) ?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenMeetings developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/openmeetings-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to