Jasmine Sandlas
asked on
Converted SRC file from ANSI to UTF-8 through a batch script, but some Latin characters sets are getting loaded with some other Latin characters. PLEASE HELP
Converted SRC file from ANSI to UTF-8 through a batch script, but some Latin characters sets are getting loaded with some other Latin characters. Experts PLEASE HELP
Example:-
ANSI file :- Srihas Rüpock
UTF-8 File :- Srihas Rⁿpock
Command Using to convert ANSI file to UTF file through command prompt is:-
powershell -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "Get-Content 'srcfile.txt' -Encoding Oem | Out-File 'tgtfile.txt' -Encoding UTF8"
Example:-
ANSI file :- Srihas Rüpock
UTF-8 File :- Srihas Rⁿpock
Command Using to convert ANSI file to UTF file through command prompt is:-
powershell -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "Get-Content 'srcfile.txt' -Encoding Oem | Out-File 'tgtfile.txt' -Encoding UTF8"
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER