PC Review


Reply
Thread Tools Rate Thread

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

 
 
moonhkt
Guest
Posts: n/a
 
      5th Oct 2009
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
 
Reply With Quote
 
 
 
 
Bernd
Guest
Posts: n/a
 
      5th Oct 2009


-------- 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.aspx...8-to-ISO8859-1

Bernd
 
Reply With Quote
 
ju.c
Guest
Posts: n/a
 
      6th Oct 2009

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


ju.c


"moonhkt" <(E-Mail Removed)> wrote in message news:df4fce14-210e-46ec-abdf-(E-Mail Removed)...
> 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

 
Reply With Quote
 
moonhkt
Guest
Posts: n/a
 
      7th Oct 2009
Tried. Not Work.

Window prompted "Access is Denied".


On 10月6日, 下午3時18分, "ju.c" <bibidybubidyb...@mailinator.com> wrote:
> 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/....9.2.win32.zip
>
> ju.c
>
>
>
> "moonhkt" <moon...@gmail.com> wrote in messagenews:df4fce14-210e-46ec-abdf-(E-Mail Removed)...
> > 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- 隱藏被引用文字 -

>
> - 顯示被引用文字 -


 
Reply With Quote
 
ju.c
Guest
Posts: n/a
 
      7th Oct 2009
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".
>

 
Reply With Quote
 
ju.c
Guest
Posts: n/a
 
      8th Oct 2009
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" <(E-Mail Removed)> wrote in message news:#(E-Mail Removed)...
> 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".
>>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 - Formatting text in cell (character by character) TomC Microsoft Excel Misc 0 29th Jan 2010 07:25 PM
How to detect if a text file is ISO8859-1,ISO8859-15,UTF-8 or UniCode encoded Karl Mondale Windows XP Help 5 22nd Jan 2010 08:56 PM
How to detect if a text file is ISO8859-1,ISO8859-15,UTF-8 or UniCode encoded Karl Mondale Windows XP General 0 22nd Jan 2010 10:21 AM
importing undelimited text file data, character-by-character =?Utf-8?B?VGhlIE1vcyQ=?= Microsoft Excel Programming 4 26th Dec 2005 11:01 AM
Updating character count as user types each character refer_to_website@nospam.com Microsoft Dot NET 9 20th Feb 2004 10:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:23 AM.