Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: DVB-to-Unicode translation tables



On Sun, Dec 15, 2002 at 04:39:46PM +0100, Felix Domke wrote:
> 
> does anybody have some DVB-to-unicode (as specified in Annex S, Etsi EN
> 300468, but there are only graphical tables and i don't want to lookup 128*5
> symbols in the unicode specs) translation tables?

They are all covered by iconv() in glibc. Below are suitable iconv
encoding identifiers:

      case 0x11 ... 0x12:
        /* 0x11: Basic Multilingual Plane of ISO/IEC 10646-1
         * 0x12: Korean Character Set KSC 5601 */
   "UCS2", "EUC-KR"

      case 0x01 ... 0x05:
        /* 1: Latin/Cyrillic   2: Latin/Arabic   3: Latin/Greek
           4: Latin/Hebrew     5: Latin */
  "ISO-8859-5", "ISO-8859-6", "ISO-8859-7", "ISO-8859-8", "ISO-8859-9"

You should take care of the DVB control characters before passing
stuff to iconv().

Or is your question just aiming to replace iconv with something smaller?
You could still use iconv then to generate your translation tables.


Regards,
Johannes


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index