Re: Is there an intent to distribute a Linux-x86_64 binary?

Peter Ragosch <peter.ragosch-CB8Jegt/[email protected]>
Newsgroups gmane.editors.nedit.user
Organization privat
Message-ID <[email protected]>
Hi ERSEK Laszlo,
many thanks for your hints. 
I'm aware that nedit doesn't support UTF8 at all. But I didn't want
to go back from UTF8 system wide. nedit worked without any problem on
openSuSE 11.0 x86_32. Whereat nedit said 'changed locale to non-utf8
(de_DE)' after each start, which was expected, but it doesn't crash.

Now, with openSuSE 11.1 x86_64, nedit shows the new behaviour (*) and
that is the reason why I'm a bit surprised.


Am Fri, 20 Mar 2009 19:36:33 +0100
schrieb ERSEK Laszlo <[email protected]>:

> On 03/20/09 18:38, Peter Ragosch wrote:
> 
> > nedit: the current locale is utf8 (de_DE.UTF-8)
> > nedit: changed locale to non-utf8 (de_DE)
> 
> Try running nedit as in
> 
> LC_ALL=C nedit
> export LC_CTYPE=de_DE.ISO8859-1
> export LC_COLLATE=de_DE.ISO8859-1
> 
> You can verify your locale settings by running "locale". LANG
> provides a default for unset LC_* variables (locale categories), and
> LC_ALL overrides all LC_* variables.
> 
> Generating and installing a locale is distribution-specific, your
> distro probably has some wrapper around localedef.
> 
> lacos

Today I did the following in a shell:

root@raven:~ # localedef -i de_DE -f ISO-8859-1 de_DE.ISO-8859-1

root@raven:~ # ls /usr/lib/locale/de_DE.*
/usr/lib/locale/de_DE.iso88591:   (generated today)
LC_ADDRESS  LC_IDENTIFICATION  LC_MONETARY  LC_PAPER
LC_COLLATE  LC_MEASUREMENT     LC_NAME      LC_TELEPHONE
LC_CTYPE    LC_MESSAGES        LC_NUMERIC   LC_TIME

/usr/lib/locale/de_DE.utf8:
LC_ADDRESS  LC_IDENTIFICATION  LC_MONETARY  LC_PAPER
LC_COLLATE  LC_MEASUREMENT     LC_NAME      LC_TELEPHONE
LC_CTYPE    LC_MESSAGES        LC_NUMERIC   LC_TIME

Now set the language and start nedit as user:

peter@raven:~> export LC_CTYPE=de_DE.ISO-8859-1
peter@raven:~> export LC_COLLATE=de_DE.ISO-8859-1
peter@raven:~> locale
LANG=de_DE.ISO-8859-1
LC_CTYPE=de_DE.ISO-8859-1
LC_NUMERIC="de_DE.ISO-8859-1"
LC_TIME="de_DE.ISO-8859-1"
LC_COLLATE=de_DE.ISO-8859-1
LC_MONETARY="de_DE.ISO-8859-1"
LC_MESSAGES="de_DE.ISO-8859-1"
LC_PAPER="de_DE.ISO-8859-1"
LC_NAME="de_DE.ISO-8859-1"
LC_ADDRESS="de_DE.ISO-8859-1"
LC_TELEPHONE="de_DE.ISO-8859-1"
LC_MEASUREMENT="de_DE.ISO-8859-1"
LC_IDENTIFICATION="de_DE.ISO-8859-1"
LC_ALL=
peter@raven:~> LC_ALL=C nedit

Test the nedit sort:
w
d
c
a
ä
ü
ö
Ä
Ö
Ü
W
i
gives
a
ä
Ä
c
d
i
ö
Ö
ü
Ü
w
W
and works!

Test the nedit menu:

(*) Preferences -> Save Defaults

X Error of failed request:  BadValue (integer parameter out of range
for operation) Major opcode of failed request:  91 (X_QueryColors)
  Value in failed request:  0xffefefef
  Serial number of failed request:  8769
  Current serial number in output stream:  8769
peter@raven:~>
 
May be I've set the language to de_DE.ISO-8859-1 in a wrong way (syntax
taken from file /etc/sysconfig/language)?
How can I check this seriously?

I've found 'openSuSE-documentation chapter 16.4 language settings' (in
german) and http://www.cl.cam.ac.uk/~mgk25/unicode.html but both gives
no help for going back to ISO-8859-1 for one single application) that
I'm able to understand.

Please, can you give me a source where I can read more about language
settings for a dummy? (the man pages are nice but extremely hard to
understand).

My best way of learning is by an example, what result is expected, hints
for checking the result and then try and error until it works
sufficient :-)).

Kind regards
Peter

-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.