RE: OT Encoding query

2001-10-22 Thread Marco Cimarosti

Edward Cherlin wrote:
> Can anyone tell me what encoding this is? It comes from an 
> allegedly Chinese page at Wizards of the Coast, 
> http://www.wizards.com/international/main.asp?x=welcome,3,zh&r
> egion=worldwide
> with the unfortunate heading
> 
> charset=ISO-8859-1
> 
> None of my browser character settings in either IE or Mozilla 
> turn it into anything readable. I have tried Big 5, EUC-TW, 
> GBK, GB2312, GB18030, and HZ.
> 
> "¶Ó­·ÃÎÊ Íþ ÊÀ ÖÇ
> [...]

It looks like GB-2312 misinterpreted as Windows CP-1252 mislabeled as
ISO-8859-1...

What happened is that all bytes 0x80..0x9F (which are graphic characters in
CP-1252) have been best-fit converted to their nearest ISO-8859-1
equivalents.

For instance, the initial 0x22 (") originally must have been 0x93 or 0x94 (“
or ” = open double quotes or closed double quotes), both of which generate
valid GB-2312 double-byte characters, when coupled to the following 0xB6
(¶).

> "A knot! Oh, do let me help to undo it."
> Alice in Wonderland

Yeah, now you must hire Mad Hatter to undo that DBCS mess.

_ Marco




OT Encoding query

2001-10-20 Thread Edward Cherlin

Can anyone tell me what encoding this is? It comes from an allegedly Chinese page at 
Wizards of the Coast, 
http://www.wizards.com/international/main.asp?x=welcome,3,zh®ion=worldwide
with the unfortunate heading

charset=ISO-8859-1

None of my browser character settings in either IE or Mozilla turn it into anything 
readable. I have tried Big 5, EUC-TW, GBK, GB2312, GB18030, and HZ.

"¶Ó­·ÃÎÊ Íþ ÊÀ ÖÇ

Çë1/4ÓÈëÈ"ÊÀ1/2çÊýÒÔ°ÙÍò1/4Æ1/2¡ÖÇ"²Î1/4ÓÕßµÄÐÐÁУ¬ËûÃÇϲ°(r)ÎÒÃÇ1/4¤¶¯ÈËÐĺ͸"ÓÐÌôÕ1/2ÐÔµÄÒæ
 ÖÇ ¶Ô Õ1/2 ¡£

ÁË1/2â³èÎïС3/4"Áé1/2"""¿¨ÅƶÔÕ1/2ºÍÍòÖÇÅÆ£º1/2"""¿¨ÅƶÔÕ1/2ר1/4ÒµÄ"ãÝÍ×÷Æ*¡£3/4´ÇëÁìÂÔÁîÈËÐijÛ
 
ÉñÍùµÄÈ"Çò1/2õ±êÈüºÍÁªÃËϵͳ£¬ÁË1/2âÈçºÎÔöÇ¿ÄúµÄÖÇÁ¦ºÍ²ßÂÔ1/41/4ÄÜ£¬Ì1/2Ë÷È"ÊÀ1/2ç×îÓÅÐãµÄ3/4º
 Èü Éè1/4ÆÕß³äÂúÏëÏóÁ¦µÄ·¢Ã÷´´Ôì¡£

Äú×öºÃÓ­1/2ÓÌôÕ1/2µÄ×1/4±¸ÁËÂð£¿

ÇëÎñ±Ø¶¨ÆÚ*ÃÎÊ£¬ÁË1/2â Íþ ÊÀ ÖÇ µÄ×îÐÂÐÅÏ¢£¡


Their Chinese pages at 
http://www.wizards.com.cn/
are in gb2312, and display with no problems.


Edward Cherlin
Generalist
"A knot! Oh, do let me help to undo it." 
Alice in Wonderland