Accents problem

Paul Gevers paul at climbing.nl
Mon Dec 7 10:48:23 CET 2009


Hi,

Lets see if we have a similar setup. If I run "locale -a" I get at least
the following output (apart from a lot of utf8): nl_NL.iso88591
If you don't have anything which is NOT utf8 I think you will have a
problem, because nedit does not support utf8 and C appears not to
support special characters (but I could be very wrong there).

Then, when I start nedit with the following line
LC_ALL=nl_NL.iso88591 nedit
(try with LC_ALL instead of LANG because the former overrules everything
else) I can type accented characters when my keyboard layout supports it
(e.g. dutch layout, or US international). When I start with LC_ALL=C I
can not type any special characters.

Additionally, there is a bug in lesstif which prevents use of so called
dead-keys in any tab EXCEPT for the first one:
https://sourceforge.net/tracker/index.php?func=detail&aid=1366881&group_id=8596&atid=108596

Paul

Eric Bouyoux wrote:
> Hi,
> 
> I have the problem in all cases : if the character with accent is
> already in the file or if I add it myself.
> 
> Regards.
> 
> Eric Bouyoux.
> 
> Philippe Poilbarbe a écrit :
>> Hello,
>>
>> Maybe a silly question, but does it happens when you open an existing
>> file or when you type a character like 'â'?
>>
>> I have, like you, the same problem when opening a file with already
>> utf-8 characters inside it, but when I type an accented character I have
>> the right character displayed (iso-8859-1), then in the file there is a
>> mix of utf-8 and iso-8859-1 characters.
>> It happens because we are many users editing the file and some are using
>> geany, and geany uses utf-8.
>>
>> Ph.P.
>>
>> System: Mandriva 2009.0,
>> NEdit 5.5
>> Sep 30, 2004
>>
>>     Built on: Linux, 386, GNU C
>>     Built at: Oct  1 2004, 15:55:40
>>   With Motif: 2.1.30 [@(#)Motif Version 2.1.30]
>> Running Motif: 2.1 [unknown]
>>       Server: The X.Org Foundation 10402000
>>       Visual: 32-bit TrueColor (ID 0x23)
>>       Locale: fr_FR.UTF-8
>> (from nedit site)
>>
>>
>> Eric Bouyoux a écrit :
>>> Hi,
>>>
>>> No, it still doesn't work, even with the LANG variable set to C (this is
>>> what I get at work). I really don't understand why if it works for you.
>>>
>>> Regards.
>>>
>>> Eric Bouyoux.
>>>
>>> Edward A. Berry a écrit :
>>>  
>>>> Rather than reset LANG on the system,
>>>> you can run nedit through a wrapper like my "edit":
>>>>
>>>>  #!/bin/bash
>>>>  LANG=en_US ; nedit $* &
>>>>
>>>> which i do to avoid the error about unsupported utf8,
>>>> but it also allows proper display of é.
>>>>
>>>> 109% echo $LANG
>>>> en_US.UTF-8
>>>>
>>>>
>>>> Ed
>>>>
>>>>    
>>>>>> When I use accents (such as é), I get something like 'é'.
>>>>>> I use more or less the same nedit version at work under Centos 5
>>>>>> without
>>>>>> any problem (I don't know the LANG values of my CentOS configuration,
>>>>>> nor the Motif version).
>>>>>>         
>>>>> This really sounds like a utf8 problem. Please set the LANG value to
>>>>> something appropriate (nedit doesn't support utf8).
>>>>>
>>>>> Paul
>>>>>
>>>>>
>>>>>       
>>>>     
>>>
>>>
>>>                            Cliquez sur l'url suivante
>>> https://www.mailcontrol.com/sr/+C5eJVOeXljTndxI!oX7UtTXwRoU2H8XszK29W9bjJJjsThiL0U0Ge9vgoIYnwhqa60!JNpPxHAWVaQUGz3XVw== 
>>>                     si ce message est indésirable (pourriel).
>>>   
>>
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : http://www.nedit.org/pipermail/discuss/attachments/20091207/5888fd61/signature.bin


More information about the Discuss mailing list