M
MoshiachNow
HI,
Got a file that when opened with a Notepad looks like (a sample line) :
[HKEY_LOCAL_MACHINE\
I know it's some type of Unicode (can not figure which one),since when
I print lines in Perl - get the following:
[ H K E Y _ L O C A L _ M A C H I N E \
I basicaly need to replace some strings inside the file,so I need to
decode it from Unicode,and eventually save it in unicode.
Have tried the following:
1.open(FILE, ":utf8", "Araxi.reg"); #no good,stll prints spaces
between charachters
2.my $STRING = decode("EBCDIC", $_); #no good,stll prints spaces
between charachters
All this did not get me far.
How do I achieve the above goals (after establishing the exact unicode
format) ?
Thanks
Got a file that when opened with a Notepad looks like (a sample line) :
[HKEY_LOCAL_MACHINE\
I know it's some type of Unicode (can not figure which one),since when
I print lines in Perl - get the following:
[ H K E Y _ L O C A L _ M A C H I N E \
I basicaly need to replace some strings inside the file,so I need to
decode it from Unicode,and eventually save it in unicode.
Have tried the following:
1.open(FILE, ":utf8", "Araxi.reg"); #no good,stll prints spaces
between charachters
2.my $STRING = decode("EBCDIC", $_); #no good,stll prints spaces
between charachters
All this did not get me far.
How do I achieve the above goals (after establishing the exact unicode
format) ?
Thanks