Subject: lib/28325: our iconv does not understand Shift_JIS half-width katakana
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <cjs@cynic.net>
List: netbsd-bugs
Date: 11/16/2004 04:37:00
>Number:         28325
>Category:       lib
>Synopsis:       our iconv does not understand Shift_JIS half-width katakana
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 16 04:37:00 +0000 2004
>Originator:     Curt Sampson
>Release:        NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD dev1.tabemo.com 2.0_BETA NetBSD 2.0_BETA ($Id: TABEMO.WORKSTATION,v 1.1 2004/09/27 07:02:01 cjs Exp $) #2: Mon Sep 27 16:04:17 JST 2004 cjs@dev1.tabemo.com:/u/netbsd/src-2.0/sys/arch/i386/compile/TABEMO.WORKSTATION i386
Architecture: i386
Machine: i386
>Description:
    Oour iconv does not appear to understand hanakau (half-width) katakana
    (unicode 0xff80 page) for the Shift_JIS character set. Linux does just
    fine.
>How-To-Repeat:
    Paste some hankaku katakana into vim with encoding=utf-8 and
    fileencoding=utf-8. Save and note that it saves just fine. Set
    fileencoding=Shift_JIS and note you can't save any more. Then
    try
	iconv -f utf-8 -t shift_jis <that-file-saved-as-utf-8>
    and note that it fails.
>Fix: