Link to home
Create AccountLog in
Avatar of Jasmine Sandlas
Jasmine SandlasFlag for Oman

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"
ASKER CERTIFIED SOLUTION
Avatar of ste5an
ste5an
Flag of Germany image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Jasmine Sandlas

ASKER

that actually worked well. thanks!