Perl latin-9? Unicode - need to add support -


I have an application that is being expanded in the UK and I need to add support for Latin 9 Unicode . I have done some googling but nothing is found as solid as what is included in the process. any suggestion?

Here are some codes (just bits for Unicode stuff)

  Unicode :: string QW (UTF 8 Latin 1 UTF 16); How to call # $ encoded_text = $ self-> Unicode_encode ($ item- & gt; {value}); # Function part subunicode_xode {shift () if ref ($ _ [0]); My $ toencode = shift (); Not defined until return ($ toencode); Unicode :: String-> Stringify_as ("UTF8"); My $ unicode_st = unicode :: string- & gt; new (); Unicode :: string # in linux # is currently supported here due to problems with the original Latin and Latin 1 supplement #unicode :: string. $ UNICODE_STR- & gt; Latin 1 ($ toencode); ...  

Any help would be great and thank you.

Edit: I found this post:

is ancient, and the old Pearl Is designed to add Unicode support. The modern version of Pearl (version 5.8.0 and above) has native Unicode support. Look at the module and layer. You can see a list of supported encodings in your Perl perldoc encoding :: supported .

. In fact, you have to decode / decode Latin-9 on input / amp; Production. At the rest of the time, you should use the original UTF-8 strings of Pearl.

  Read # Latin-9 file: open (in my $, '& lt ;: encoding (Latin 9)', 'some / file'); My $ line = & lt; $ In & gt ;; Automatically converts #Latni 9 to UTF-8 # # Write Latin-9 file: open (my $ out, '& gt;: encoding (Latin 9)', 'other / file'); Print out $ line; # Automatically translates UTF-8 to Latin 9  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -