Hubert,
Did you also check whether this also works in Suse 9.2? I tried and could not make it to work. Regardless of the setting of LANG to de_DE.euro I always see non readable umlauts. Georg -----Ursprüngliche Nachricht----- Von: Hubert Baumeister [mailto:[hidden email]] Gesendet: Montag, 28. November 2005 07:56 An: [hidden email] Cc: Alan Knight Betreff: Re: Suse 10, VW 7.3.1, and German Umlauts Hi, I found an easier work around than to change a global setting. The environment variable LANG seems to control the character encoding behavior. Starting Smalltalk with LANG set to de_DE.euro instead of de_DE.UTF-8 solves the problem for me. Cheers, Hubert Hubert Baumeister wrote: > Thanks Alan. > > I found the switch in SuSE 10. It is in the language section of the > Systems module of yast2; the UTF-8 encoding option needs to be cleared. > > So this worked fine for me and my personal laptop, but this is a problem > with students using Smalltalk in courses, as my department has migrated > the student computers to SuSE 10 with UTF-8 encoding. > > Cheers, > Hubert > > Alan Knight wrote: >> It looks to me like the difference is that SuSE 10 is using UTF-8 for >> the information coming from the Window Manager, and this is confusing >> VW. I'm not sure what the source of the confusion would be - it might >> be that this isn't the encoding we're expecting based on the locale, >> or it might be that the VW keyboard input code isn't equipped for >> utf-8. However, if you can find an option to set it back to the same >> encoding that SUSE 9 was using, that's probably the easiest short-term >> answer, and very possibly the only one that's going to work for 5i.3. >> >> At 06:34 AM 11/28/2005, Hubert Baumeister wrote: >>> Hi, >>> >>> since a week now, I am running VW 7.3.1 on SuSE Linux 10 without >>> problems. However, only yesterday I tried to write some German >>> text(using a German keyboard) in the workspace containing German >>> Umlauts (öäüÖÄÜß). The problem is that the Umlauts don't appear in >>> the workspace. It seems that when I press an Umlaut key, the VM >>> receives something which it does not understand and ignores >>> (incidentally, using VW 5i.3, the VM crashes when typing Umlauts). >>> >>> I didn't have had this problem with the previous installation of SuSE >>> Linux (some 9.x version). >>> >>> The following is what xev says on SuSE 10 when I press o Umlaut (ö): >>> >>> KeyPress event, serial 27, synthetic NO, window 0x3400001, >>> root 0x48, subw 0x3400002, time 945395, (62,66), root:(857,652), >>> state 0x0, keycode 47 (keysym 0xf6, odiaeresis), same_screen YES, >>> XLookupString gives 2 bytes: (c3 b6) "ö" >>> XmbLookupString gives 2 bytes: (c3 b6) "ö" >>> XFilterEvent returns: False >>> >>> The working SuSE 9 produces >>> >>> KeyPress event, serial 22, synthetic NO, window 0x2a00001, >>> root 0x90, subw 0x0, time 606351971, (72,84), root:(1231,277), >>> state 0x0, keycode 47 (keysym 0xf6, odiaeresis), same_screen YES, >>> XLookupString gives 1 bytes: "ö" >>> >>> Any idea, how I can also use Umlauts in VW 7.3.1 and SuSE 10 (and if >>> possible also VW 5i.3 and SuSE 10, as I still have an application >>> running on VW 5i.3 which does not run yet on VW 7.3.1 (due to use of >>> OldViews GUI)). Maybe there is a magic switch in Linux or Smalltalk? >>> >>> Cheers, >>> Hubert >>> >>> -- >>> Dr. Hubert Baumeister, Institut für Informatik, Universität München >>> mailto:[hidden email] >>> http://www.informatik.uni-muenchen.de/~baumeist >>> phone (x49-89)2180-9375 * fax -9175 >> >> -- >> Alan Knight [|], Cincom Smalltalk Development >> [hidden email] >> [hidden email] >> http://www.cincom.com/smalltalk >> >> "The Static Typing Philosophy: Make it fast. Make it right. Make it >> run." - Niall Ross >> > > -- Dr. Hubert Baumeister, Institut für Informatik, Universität München mailto:[hidden email] http://www.informatik.uni-muenchen.de/~baumeist phone (x49-89)2180-9375 * fax -9175 |
Hi Georg,
Georg Heeg wrote: > Hubert, > > Did you also check whether this also works in Suse 9.2? No, I have only 9.0 and 10.0 available. > I tried and could > not make it to work. Regardless of the setting of LANG to de_DE.euro I > always see non readable umlauts. Is this a problem with displaying files containing UTF-8 encoded characters? The LANG variable does not seem to influence the way how Smalltalk displays files with umlauts. I haven't checked for a Smalltalk internal switch, but you can use the recode program to change UTF-8 umlauts back to ISO Umlauts: recode u8..latin1 file Cheers, Hubert > > Georg > > -----Ursprüngliche Nachricht----- > Von: Hubert Baumeister [mailto:[hidden email]] > Gesendet: Montag, 28. November 2005 07:56 > An: [hidden email] > Cc: Alan Knight > Betreff: Re: Suse 10, VW 7.3.1, and German Umlauts > > Hi, > > I found an easier work around than to change a global setting. The > environment variable LANG seems to control the character encoding > behavior. Starting Smalltalk with LANG set to de_DE.euro instead of > de_DE.UTF-8 solves the problem for me. > > Cheers, > Hubert > > > Hubert Baumeister wrote: >> Thanks Alan. >> >> I found the switch in SuSE 10. It is in the language section of the >> Systems module of yast2; the UTF-8 encoding option needs to be cleared. >> >> So this worked fine for me and my personal laptop, but this is a problem >> with students using Smalltalk in courses, as my department has migrated >> the student computers to SuSE 10 with UTF-8 encoding. >> >> Cheers, >> Hubert >> >> Alan Knight wrote: >>> It looks to me like the difference is that SuSE 10 is using UTF-8 for >>> the information coming from the Window Manager, and this is confusing >>> VW. I'm not sure what the source of the confusion would be - it might >>> be that this isn't the encoding we're expecting based on the locale, >>> or it might be that the VW keyboard input code isn't equipped for >>> utf-8. However, if you can find an option to set it back to the same >>> encoding that SUSE 9 was using, that's probably the easiest short-term >>> answer, and very possibly the only one that's going to work for 5i.3. >>> >>> At 06:34 AM 11/28/2005, Hubert Baumeister wrote: >>>> Hi, >>>> >>>> since a week now, I am running VW 7.3.1 on SuSE Linux 10 without >>>> problems. However, only yesterday I tried to write some German >>>> text(using a German keyboard) in the workspace containing German >>>> Umlauts (öäüÖÄÜß). The problem is that the Umlauts don't appear in >>>> the workspace. It seems that when I press an Umlaut key, the VM >>>> receives something which it does not understand and ignores >>>> (incidentally, using VW 5i.3, the VM crashes when typing Umlauts). >>>> >>>> I didn't have had this problem with the previous installation of SuSE >>>> Linux (some 9.x version). >>>> >>>> The following is what xev says on SuSE 10 when I press o Umlaut (ö): >>>> >>>> KeyPress event, serial 27, synthetic NO, window 0x3400001, >>>> root 0x48, subw 0x3400002, time 945395, (62,66), root:(857,652), >>>> state 0x0, keycode 47 (keysym 0xf6, odiaeresis), same_screen YES, >>>> XLookupString gives 2 bytes: (c3 b6) "ö" >>>> XmbLookupString gives 2 bytes: (c3 b6) "ö" >>>> XFilterEvent returns: False >>>> >>>> The working SuSE 9 produces >>>> >>>> KeyPress event, serial 22, synthetic NO, window 0x2a00001, >>>> root 0x90, subw 0x0, time 606351971, (72,84), root:(1231,277), >>>> state 0x0, keycode 47 (keysym 0xf6, odiaeresis), same_screen YES, >>>> XLookupString gives 1 bytes: "ö" >>>> >>>> Any idea, how I can also use Umlauts in VW 7.3.1 and SuSE 10 (and if >>>> possible also VW 5i.3 and SuSE 10, as I still have an application >>>> running on VW 5i.3 which does not run yet on VW 7.3.1 (due to use of >>>> OldViews GUI)). Maybe there is a magic switch in Linux or Smalltalk? >>>> >>>> Cheers, >>>> Hubert >>>> >>>> -- >>>> Dr. Hubert Baumeister, Institut für Informatik, Universität München >>>> mailto:[hidden email] >>>> http://www.informatik.uni-muenchen.de/~baumeist >>>> phone (x49-89)2180-9375 * fax -9175 >>> -- >>> Alan Knight [|], Cincom Smalltalk Development >>> [hidden email] >>> [hidden email] >>> http://www.cincom.com/smalltalk >>> >>> "The Static Typing Philosophy: Make it fast. Make it right. Make it >>> run." - Niall Ross >>> >> > > -- Dr. Hubert Baumeister, Institut für Informatik, Universität München mailto:[hidden email] http://www.informatik.uni-muenchen.de/~baumeist phone (x49-89)2180-9375 * fax -9175 |
Free forum by Nabble | Edit this page |