Forum Moderators: open
I wrote a simple script in python that converts ACSII to UTB-8. You pass it a string and it will convert. Just wanted to share.
This should work in Python 2.1 and up:
************************
##parameters=ascii_string=''
unicode_string = u''
for thisIndex in range(len(ascii_string)):
unicode_string = unicode_string + unichr(ord(ascii_string[thisIndex]))
return unicode_string
************************
Hope this helps anyone and may be translated to PERL with ease (I am guessing)