Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Converting unicode text from properties files

  • 27-03-2007 12:42pm
    #1
    Closed Accounts Posts: 334 ✭✭


    Hi,

    Does anyone know of a converter for converting the following type of unicode:

    \u4e0d\u660e\u306a\u8a2d\u5b9a\u306e\u7a2e\u985e\u3067\u3059\u3002

    Thanks.


Comments

  • Closed Accounts Posts: 884 ✭✭✭NutJob


    in what language?

    Or do you just want to do it with your mind and a Unicode/ascii table


  • Closed Accounts Posts: 334 ✭✭WhatsGoingOn


    NutJob wrote:
    in what language?

    Or do you just want to do it with your mind and a Unicode/ascii table

    I don't mind what language (although Perl would be good). The properties file is in Japanese, so a Unicode/ascii table isn't really any good to me.


  • Registered Users, Registered Users 2 Posts: 6,571 ✭✭✭daymobrew


    I don't mind what language (although Perl would be good). The properties file is in Japanese, so a Unicode/ascii table isn't really any good to me.
    What format/charset do you want the output information?

    Maybe the 'use utf8;' pragma will help you in perl. You could use the 'use bytes;' pragma in blocks where you don't want to use UTF8. Maybe you can output the strings at that point.


  • Closed Accounts Posts: 884 ✭✭✭NutJob


    Covers everything you are looking for

    http://www.gsp.com/cgi-bin/man.cgi?topic=perluniintro


Advertisement