Discussion:
Accents problem
Eric Bouyoux
2009-11-14 15:55:14 UTC
Permalink
Hi,

I currently use the following version of nedit under Mandriva 2010

5.6 [Under Development] HEAD
Apr 4, 2009

Built on: Linux, 386, GNU C
Built at: Apr 4 2009, 09:34:49
With Motif: 2.3.0 [@(#)Motif Version 2.3.0]
Running Motif: 2.3 [unknown]
Server: The X.Org Foundation 10605000
Visual: 24-bit TrueColor (ID 0x21, Default)
Locale: fr_FR.UTF-8

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).

How can I make my Mandriva nedit version work with accents ?

Thank you.

Eric Bouyoux.
Paul Gevers
2009-11-14 16:02:08 UTC
Permalink
Post by Eric Bouyoux
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
Eric Bouyoux
2009-11-17 07:53:39 UTC
Permalink
Hi,

Sorry for the delay.
For the moment, this workaround doesn't work for me. At work, I have :
LANG=C. I'll try this at home.

Regards.

Eric Bouyoux.
Rather than reset LANG on the system,
#!/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
Post by Paul Gevers
Post by Eric Bouyoux
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
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Eric Bouyoux
2009-11-21 15:46:55 UTC
Permalink
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.
Rather than reset LANG on the system,
#!/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
Post by Paul Gevers
Post by Eric Bouyoux
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
Edward A. Berry
2009-11-21 18:01:25 UTC
Permalink
Post by Eric Bouyoux
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.
Don't know- I'm just a user.
Maybe your input method? It works for me copying and
pasting accented characters from your email, or from the character-map utility.
Don't know how to enter accents from the keyboard.

I'm using an old version of nedit, which works perfectly (for all i want)
under FC6 but has a well-known copy-paste problem and text update problem
(fixed by selecting) under FC8.
Although both have the same version of LessTiff as far as I can tell.

NEdit 5.5
Sep 30, 2004

Built on: Linux, 386, GNU C
Built at: Nov 10 2007, 07:57:53
With Motif: 2.1.0 [@(#)GNU/LessTif Version 2.1 Release 0.95.0] (UNTESTED)
Running Motif: 2.1 [unknown]
Server: The X.Org Foundation 10300000
Visual: 24-bit TrueColor (ID 0x23, Default)
Locale: en_US

Ed
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Eric Bouyoux
2009-11-22 10:45:26 UTC
Permalink
Hi,

I have a french keyboard, so I can enter a lot of accents ...
I have the same problem when I try to copy/paste from the shell. But, as
you said, it works when I copy/paste from an email message. But, it is
the same if I use nedit or the script where I redefined the LANG env var.

Regards.

Eric Bouyoux.
Post by Edward A. Berry
Post by Eric Bouyoux
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.
Don't know- I'm just a user.
Maybe your input method? It works for me copying and
pasting accented characters from your email, or from the character-map utility.
Don't know how to enter accents from the keyboard.
I'm using an old version of nedit, which works perfectly (for all i want)
under FC6 but has a well-known copy-paste problem and text update problem
(fixed by selecting) under FC8.
Although both have the same version of LessTiff as far as I can tell.
NEdit 5.5
Sep 30, 2004
Built on: Linux, 386, GNU C
Built at: Nov 10 2007, 07:57:53
Running Motif: 2.1 [unknown]
Server: The X.Org Foundation 10300000
Visual: 24-bit TrueColor (ID 0x23, Default)
Locale: en_US
Ed
Philippe Poilbarbe
2009-12-04 10:19:17 UTC
Permalink
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)
Post by Eric Bouyoux
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.
Rather than reset LANG on the system,
#!/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
Post by Paul Gevers
Post by Eric Bouyoux
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).
--
Philippe Poilbarbe CLS Océanographie Spatiale

mailto:Philippe.Poilbarbe-***@public.gmane.org
phoneto:+33(5)61394727

Parc technologique du canal
8-10, Rue Hermes
31520 Ramonville St-Agne
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Eric Bouyoux
2009-12-07 08:28:05 UTC
Permalink
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.
Post by Philippe Poilbarbe
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
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)
Post by Eric Bouyoux
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.
Rather than reset LANG on the system,
#!/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
Post by Paul Gevers
Post by Eric Bouyoux
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).
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Paul Gevers
2009-12-07 09:48:23 UTC
Permalink
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
Post by Eric Bouyoux
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.
Post by Philippe Poilbarbe
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
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)
Post by Eric Bouyoux
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.
Rather than reset LANG on the system,
#!/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
Post by Paul Gevers
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).
Eric Bouyoux
2009-12-07 19:56:50 UTC
Permalink
Eric Bouyoux
2009-12-08 07:40:05 UTC
Permalink
Continue reading on narkive:
Loading...