> When I copy/paste the second line of the first paragraph from the
> start of the line to the semi-colon, I get all the characters very
> nicely:
>
>   CJK Unied Ideographs Extension B 的罕用字。例如:
>
> (I suppose the wrong "fi" in what should be "Unified" is a bug in
> evince not recognizing this ligature.)

Yep.  Using acroread 7.0.8 on Linux, copying this into the joe editor
(version 3.5) works just fine.

> Copying and pasting the characters behind the semi-colon up until the
> end of the second line results in this in gnome-terminal in one line:
>
>   \ud840\udc21\ud840\udc22\ud840\udc23\ud840\udc24\ud840\udc25\ud840
>   \udc3b\ud840\udc3c\ud840\udc3d

Apparently a bug in gnome-terminal.  Copy & Paste works for me within
both joe and the KDE terminal (Qt: 3.3.4, KDE: 3.4.2 Level "b",
Konsole: 1.5.2); I tried with

  echo <Unicode stuff from the second line>  >  foo

and checked the result afterwards.  Since my SuSE version is quite
old, the console, the font display engine, and the programs disagree
on the widths of characters from the Ideograph Extensions (which were
too new to be implemented already, I presume), but this is a minor
issue.

> And this in Emacs22:
>
>   ����������������
>   ����������������
>   €���������������

Then you are doing something wrong, probably a misconfiguration.  For
me, using CVS from 2006-Oct-03, the characters are copied correctly
(however, they can't be displayed and appear as empty boxes).  I have
the following in my .emacs file:

  (setq x-select-request-type 'UTF8_STRING)

> When I paste the complete first paragraph, I get it correctly in
> Emacs22 (except for the A in \LaTeX and the "fi" ligature ;-):
>
>                  A
>   這是關於 L TEX CJK 擴增 Unicode 碼位至 U+10FFFF 的測試,這些包括了

Interesting.  With Acrobat, everything is just fine.  Using xpdf (both
version 3.00 and 3.01), I get those `U+D840' characters.  So we have a
bug in xpdf (which probably doesn't support Unicode > U+FFFF yet -- at
least it doesn't handle surrogates correctly while working with the
cliboard of X.

> And this in gnome-terminal in one line:

Probably the same problem.

> I guess I'll try to find out which of the three is to blame, and
> report a nasty bug to them. ;)

Please do so!


    Werner
_______________________________________________
Cjk maillist  -  [email protected]
http://lists.ffii.org/mailman/listinfo/cjk

Reply via email to