translation gettext .mo .po files does picomod support UTF-8

  • We are porting a lunix application to the pico-mod and
    have a catalog of translations files in thr 'po'
    format.


    Is UTF-8 supported by picomod, or should we continue with ISO-8859-N
    font files?


    Robin

  • just for anyone else who has to do it, you have to create
    a locale definition or `setlocale' in your c program will
    return null


    For instance to make a French locale in a local directory do


    # point at the 18N directory on your unix system first. I am using suse 11.2 so
    # for my picomod dev for internationalisation support
    #
    export I18NPATH=/usr/local/arm/4.3.1-eabi-armv6/usr/share/i18n/


    # make a local directory to store it in
    #
    mkdir -p usr/lib/fr_FR.utf8


    # now create the actual locale, a directory structure with binary files
    # defining the fonts etc
    #
    localedef -i fr_FR -f UTF-8 usr/lib/fr_FR.utf8


    Then scp the usr directory to root on the PICOMOD