To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=59741





------- Additional comments from [EMAIL PROTECTED] Mon Jan  2 15:38:10 -0800 
2006 -------
As I expected... invalid locale (at least here on my system and since I now get
the same result as you, I conclude that the locale is invalid in your
environment as well. (valid would mean
* both supported by X as well as by glibc
* defines the characters you want to copy)

[EMAIL PROTECTED] ooo]$ export LC_ALL=nl_BE
[EMAIL PROTECTED] ooo]$ locale
LANG=de_DE.UTF-8
LC_CTYPE="nl_BE"
LC_NUMERIC="nl_BE"
LC_TIME="nl_BE"
LC_COLLATE="nl_BE"
LC_MONETARY="nl_BE"
LC_MESSAGES="nl_BE"
LC_PAPER="nl_BE"
LC_NAME="nl_BE"
LC_ADDRESS="nl_BE"
LC_TELEPHONE="nl_BE"
LC_MEASUREMENT="nl_BE"
LC_IDENTIFICATION="nl_BE"
LC_ALL=nl_BE
[EMAIL PROTECTED] ooo]$ gedit &
[2] 17150
[EMAIL PROTECTED] ooo]$
(gedit:17150): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.

(gedit:17150): Gdk-WARNING **: locale not supported by C library
$ soffice -writer &
[3] 17161
[EMAIL PROTECTED] ooo]$
(process:17177): Gdk-WARNING **: locale not supported by C library

(soffice.bin:17177): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
Loading required GL library /usr/X11R6/lib/libGL.so.1.2

copy some thai text from gedit to writer, get
\u0e01\u0e32\u0e23\u0e15\u0e14\u0e15\u0e07

OOo is different from the other apps in the regard that it actually respects the
locale. There are no extended characters in C-locale, thus it has to use the
escape-sequences. 
Since OOo has a built-in fallback to a (hopefully suitable) locale when it
encounters C or when a fallback occurs, just try to launch gedit after you set
the locale to en_US.UTF-8 or similar and try again. If it now works, it is 100%
sure that the culprit was the invalid locale.

So even when you don't get the message about the fallback to C, then still nl_BE
probably only defines the characters in the ISO-8859 charset (any you would
still get the escape-sequences for let's say thai).
(Sample thai: การตดตง)

####################

Bottom line: You can only copy the characters defined in your locale. If the
locale is not supported and fallback to C occurs, that means no special
characters at all. 
If the locale is supported (no fallback), then you're limited to the characters
that are defined in the locale (check locale.alias for the definition of the
charset) - for dutch this probably is ISO8859-1 
The example you gave (U+2019, single quotation mark - not the same as apostrophe
or accent) is not part of ISO-8859-1, thus OOo needs to escape it.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to