I have a text file which is UTF-8 format, but my database can not
support UTF-8, We need to convert to ISO8859-1 format by IE or UTF-8
editor . So that we can import/export those UTF-8 file.
Any program can convert in background UTF8 to ISO8859-1 ?
moonhkt
-------- Original-Nachricht --------
Look here:
http://www.unicodetools.com/
http://www.javakb.com/Uwe/Forum.aspx/java-setup/12289/java-code-to-convert-a-file-from-UTF-8-to-ISO8859-1
Bernd
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\UTF82ANSI]
@="Convert UTF-8 to ANSI"
[HKEY_CLASSES_ROOT\txtfile\shell\UTF82ANSI\command]
@="C:\\Program Files\\Office\\UTF82ANSI.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/iconv-1.9.2.win32.zip
ju.c
"moonhkt" <moo...@gmail.com> wrote in message news:df4fce14-210e-46ec...@u36g2000prn.googlegroups.com...
Window prompted "Access is Denied".
> "moonhkt" <moon...@gmail.com> wrote in messagenews:df4fce14-210e-46ec...@u36g2000prn.googlegroups.com...
> > Hi All
> > How to convert UTF-8 character to ISO8859-1 character by windows xp
> > by background process ?
>
> > I have a text file which is UTF-8 format, but my database can not
> > support UTF-8, We need to convert to ISO8859-1 format by IE or UTF-8
> > editor . So that we can import/export those UTF-8 file.
> > Any program can convert in background UTF8 to ISO8859-1 ?
>
> > moonhkt- 隱藏被引用文字 -
>
> - 顯示被引用文字 -
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/iconv-1.9.2.win32.zip
ju.c
"moonhkt" <moo...@gmail.com> wrote in message news:f8c6d174-a5c3-4708...@m3g2000pri.googlegroups.com...
StringConverter <100 KB (Freeware)
http://www.gbordier.com/gbtools/stringconverter.htm
ju.c
"ju.c" <bibidybu...@mailinator.com> wrote in message news:#U6WdFzR...@TK2MSFTNGP06.phx.gbl...