[cups.bugs] [MOD] STR #1194: CUPS uses LC_MESSAGES to determine the
Mike FABIAN
mfabian at suse.de
Fri Jun 10 05:54:34 PDT 2005
[STR New]
To show that CUPS behaves as stated in the summary of the bug,
I use the following locale setting for testing:
mfabian at magellan:~/test-texts$ locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
mfabian at magellan:~/test-texts$
Now, when setting LC_CTYPE to an UTF-8 locale and printing a UTF-8 encoded
test file:
mfabian at magellan:~/test-texts$ LC_CTYPE=en_GB.UTF-8 lp < german.utf-8
request id is test-110 (1 file(s))
mfabian at magellan:~/test-texts$
it is not printed correctly.
But when LC_MESSAGES is set instead of LC_CTYPE:
mfabian at magellan:~/test-texts$ LC_MESSAGES=en_GB.UTF-8 lp <
german.utf-8
request id is test-111 (1 file(s))
mfabian at magellan:~/test-texts$
the file is printed correctly.
The test file looks like this:
mfabian at magellan:~/test-texts$ cat german.utf-8
-*- coding: utf-8 -*-
Grüà Gott! â¬
mfabian at magellan:~/test-texts$
I'll attach it as well.
Link: http://www.cups.org/str.php?L1194
Version: 1.1.23
-------------- next part --------------
A non-text attachment was scrubbed...
Name: german.utf-8
Type: application/octet-stream
Size: 39 bytes
Desc: not available
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20050610/1b3d22d0/attachment.obj>
More information about the cups-devel
mailing list