I made a booboo. Change all "UTF82ANSI" to "UTF8ANSI".
Fixed, try it again:
Creating a right-click command to convert a UTF-8 text file to ANSI.
Directions:
- Make a REGISTRY FILE.
- Make a BATCH FILE.
- DOWNLOAD iconv.exe.
REGISTRY FILE:
1. Copy below and paste into Notepad.
----------copy-inside-only----------
REGEDIT4
[HKEY_CLASSES_ROOT\txtfile\shell\UTF8ANSI]
@="Convert UTF-8 to ANSI"
[HKEY_CLASSES_ROOT\txtfile\shell\UTF8ANSI\command]
@="C:\\Program Files\\Office\\UTF8ANSI.bat\" \"%1\"\""
----------copy-inside-only----------
2. Change the path and name to yours.
3. Save-as utf8ansi.reg.
4. Double-click or right-click and merge into the registry.
BATCH FILE:
1. Copy below and paste into Notepad.
----------code----------
"C:\Program Files\Office\iconv.exe" -c -f UTF-8 -t ASCII %1 >"%~n1_ansi.txt"
CLS
EXIT
----------code----------
2. Change the path to yours.
3. Save-as utf8ansi.bat.
4. Move utf8ansi.bat to the path you entered in the registry file above.
DOWNLOAD:
iconv-1.9.2.win32.zip 1.26 MB
Web:
http://www.zlatkovic.com/pub/libxml
Download:
http://www.zlatkovic.com/pub/libxml/....9.2.win32.zip
ju.c
"moonhkt" <(E-Mail Removed)> wrote in message news:f8c6d174-a5c3-4708-b189-(E-Mail Removed)...
> Tried. Not Work.
>
> Window prompted "Access is Denied".
>