[Bese-devel] Encodings?
Pascal Bourguignon
pjb at informatimago.com
Sat Aug 6 00:53:59 UTC 2005
What provisions exist to manage encodings?
I'm observing the following behavior:
With Mozilla 1.7, and with Safari, in a text area, I type (copy-paste
from emacs HELLO actually) random characters. The text I receive
contains these characters encoded as ✏ sequences.
Content of attribute as received in clisp:
| Japanese (日本語) こんにちは, コンニチハ
| Chinese (中文,普通话,汉语) 你好
| Cantonese (粵語,廣東話) 早晨, 你好
| Korean (한글) 안녕하세요, 안녕하십니까
|
| Difference among chinese characters in GB, JIS, KSC, BIG5:
| GB 元气 开发
| JIS 元気 開発
| KSC 元氣 開發
| BIG5 元氣 開發
But when I send back this text in the same textarea, the ampersands
get escaped:
Source of HTML received back:
<textarea cols="72" rows="4" name="EjJvepjqxS"
>
Japanese (日本語) こんにちは, コンニチハ
Chinese (中文,普通话,汉语) 你好
Cantonese (粵語,廣東話) 早晨, 你好
Korean (한글) 안녕하세요, 안녕하십니까
Difference among chinese characters in GB, JIS, KSC, BIG5:
GB 元气 开发
JIS 元気 開発
KSC 元氣 開發
BIG5 元氣 開發
</textarea
>
So, it looks like either the text is not decoded on the way from the
browser to ucw, or is not encoded back from ucw to the browser.
Is this a bug or a feature?
--
__Pascal Bourguignon__ http://www.informatimago.com/
Grace personified,
I leap into the window.
I meant to do that.
More information about the bese-devel
mailing list