buglibiconv - Bugs: bug #32799, Bug when convert SHIFT-JIS to EUC...

 
 

bug #32799: Bug when convert SHIFT-JIS to EUC encoding

Submitted by:  Ankata <ankata>
Submitted on:  Wed 16 Mar 2011 05:51:42 AM UTC  
 
Category: EncodingsSeverity: 3 - Normal
Item Group: NoneStatus: Not a Bug
Privacy: PublicAssigned to: Bruno Haible <haible>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 03 Aug 2011 09:44:04 PM UTC, comment #1:

Taking the first character in your list as example: ① or U+2460.
By running this command in the libiconv/tests/ directory, you
can find out which character sets contain it:

$ grep -l '0x2460$' *.TXT
BIG5-2003.TXT
BIG5-HKSCS-1999.TXT
BIG5-HKSCS-2001.TXT
BIG5-HKSCS-2004.TXT
BIG5-HKSCS-2008.TXT
BIG5.TXT
CP932.TXT
CP936.TXT
CP949.TXT
DEC-HANYU.TXT
EUC-CN.TXT
EUC-JISX0213.TXT
EUC-KR.TXT
EUC-TW.IRREVERSIBLE.TXT
EUC-TW.TXT
GB18030-BMP.TXT
GBK.TXT
ISO-IR-165.TXT
JOHAB.TXT
SHIFT_JISX0213.TXT

So, U+2460 is not contained in Shift_JIS, nor in EUC-JP.

It is contained in CP932, though (which is the Microsoft
extension of Shift_JIS, cf. http://www.haible.de/bruno/charsets/conversion-tables/Shift_JIS.html).

If you want to use these characters in an encoding suitable
for Japanese, only CP932 and UTF-8 can be recommended.

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Wed 16 Mar 2011 05:51:42 AM UTC, original submission:

Dear all,

I am using iconv library to convert S-JIS to EUC encoding. It is converted ok for almost string. However, when I convert the character below, it is incorrect.

① ② ③ ④ ⑤ ⑥ ⑦ ⑧ ⑨ ⑩ ⑪ ⑫ ⑬ ⑭ ⑮
⑯ ⑰ ⑱ ⑲ ⑳ Ⅰ Ⅱ Ⅲ Ⅳ Ⅴ Ⅵ Ⅶ Ⅷ Ⅸ Ⅹ
㍉ ㌔ ㌢ ㍍ ㌘ ㌧ ㌃ ㌶ ㍑ ㍗ ㌍ ㌦ ㌣ ㌫ ㍊ ㌻
㎜ ㎝ ㎞ ㎎ ㎏ ㏄ ㎡

Please help me to check them?
Thanks,
Ankata

Ankata <ankata>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by haible (Posted a comment)
  • -unavailable- added by ankata (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 23 Nov 2016 11:59:04 PM UTChaibleCategoryNone=>Encodings
    Wed 03 Aug 2011 09:44:04 PM UTChaibleStatusNone=>Not a Bug
      Assigned toNone=>haible
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1