This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM57X: Linux iconv SHIFT_JIS code

Part Number: PROCESSOR-SDK-AM57X
Other Parts Discussed in Thread: TMDXIDK5718

Hi,

I'm using SDK-LINUX-AM57X 06_03_00_106 on TMDXIDK5718.

I want to convert character code UTF-8 to SHIFT_JIS.

"iconv" is already installed. But it does not contain SHIFT_JIS code.

====

root@am57xx-evm:/tmp# iconv --list
The following list contains all the coded character sets known.  This does
not necessarily mean that all combinations of these names can be used for
the FROM and TO command line parameters.  One coded character set can be
listed with several different names (aliases).

  10646-1:1993, 10646-1:1993/UCS4, ANSI_X3.4-1968, ANSI_X3.4-1986, ANSI_X3.4,
  ASCII, CP367, CSASCII, CSUCS4, IBM367, ISO-10646, ISO-10646/UCS2,
  ISO-10646/UCS4, ISO-10646/UTF-8, ISO-10646/UTF8, ISO-IR-6, ISO-IR-193,
  ISO646-US, ISO_646.IRV:1991, OSF00010020, OSF00010100, OSF00010101,
  OSF00010102, OSF00010104, OSF00010105, OSF00010106, OSF05010001, UCS-2,
  UCS-2BE, UCS-2LE, UCS-4, UCS-4BE, UCS-4LE, UCS2, UCS4, UNICODEBIG,
  UNICODELITTLE, US-ASCII, US, UTF-8, UTF8, WCHAR_T

==

How can I add SHIFT_JIS character code?

Regards,

Toshio Masuchi

  • Hi Toshio,

    The iconv utility is a generic Linux utlity that TI does not add/support.

    This is coming from the Yocto layers and picked up a dependent Yocto recipe as part of some base package.

    From a quick search for iconv, I find the following recipes in the meta-openembedded.

    ./meta-openembedded/meta-oe/recipes-support/mini-iconv/
    ./meta-openembedded/meta-perl/recipes-perl/libtext/

    My recommendation would be to read up about these recipes or contact the meta-openembedded mailing list for support and direction.

    This one cannot be supported by TI directly. Closing this thread.

    Regards

    Karthik

  • Hi Karthik,

    Thanks. I will try.

    Regards,

    Toshio Masuchi