How to convert UTF-8 character to ISO8859-1 character

M

moonhkt

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
 
B

Bernd

-------- Original-Nachricht --------
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

Look here:

http://www.unicodetools.com/
http://www.javakb.com/Uwe/Forum.asp...ode-to-convert-a-file-from-UTF-8-to-ISO8859-1

Bernd
 
J

ju.c

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\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
 
M

moonhkt

Tried. Not Work.

Window prompted "Access is Denied".


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\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 said:
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- ÁôÂóQ¤Þ¥Î¤å¦r -

- Åã¥Ü³Q¤Þ¥Î¤å¦r -
 
J

ju.c

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/iconv-1.9.2.win32.zip


ju.c
 
J

ju.c

This utility has less options but is easier to use:

StringConverter <100 KB (Freeware)
http://www.gbordier.com/gbtools/stringconverter.htm


ju.c


ju.c said:
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/iconv-1.9.2.win32.zip


ju.c


moonhkt said:
Tried. Not Work.

Window prompted "Access is Denied".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top