goofy charset selection for Unicode pastes
Jamie Zawinski
jwz at jwz.org
Fri Aug 20 18:50:27 EDT 2004
In Mozilla 1.7, view an HTML file containing this source:
foo — bar
Select it, and in XEmacs 21.4.15, do this:
(charsets-in-string (get-selection 'PRIMARY 'UTF8_STRING))
The result:
(chinese-cns11643-1 ascii)
If you insert that string (as with a paste) then you get a *Warnings*
buffer that says:
(font/warning) Unable to instantiate font for face default,
charset chinese-cns11643-1
So uh, how come I'm getting Chinese fonts for something as simple as
M-dash? Also, the pasted Chinese character looks exactly like a tilde,
not a dash at all.
Anyone understand this?
--
Jamie Zawinski
jwz at jwz.org http://www.jwz.org/
jwz at dnalounge.com http://www.dnalounge.com/
More information about the XEmacs-Beta
mailing list