PC Review


Reply
Thread Tools Rate Thread

Convert UTF-16 Unicode to UTF-8 Unicode?

 
 
Greg Lovern
Guest
Posts: n/a
 
      1st Apr 2010
If I save an Excel file as "Unicode Text" (xlUnicodeText), I get a tab-
delimited UTF-16 (also known as UTF-7) unicode file.

How can I convert it to UTF-8?


I've been doing the conversion by automating Word from Excel:

Const WORD_TEXT_FORMAT As Long = 2 'FileFormat:=wdFormatText
Const WORD_UTF8_ENCODING As Long = 65001 'Encoding:=65001

ObjWordDoc.SaveAs _
Filename:="save as UTF-8.txt", _
FileFormat:=WORD_TEXT_FORMAT, _
Encoding:=WORD_UTF8_ENCODING


However, now I need to convert from UTF-16 to UTF-8 on computers that
may not have Word installed. Any suggestions?


Thanks,

Greg
 
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
dealing forcefully with Unicode and non-Unicode characters da9ve Microsoft Word Document Management 4 9th Apr 2009 06:14 PM
unicode? non-unicode? Is Outlook 2003 obsolete software? Bert_Bert Microsoft Outlook VBA Programming 6 30th Jul 2008 02:09 PM
Converting a non-unicode data file to unicode cyndiwise notsowise Microsoft Outlook Discussion 8 28th Nov 2007 01:44 PM
Outlook 2003--How can I switch between unicode and non-unicode mode? Steve A. Microsoft Outlook 1 20th Jul 2004 03:40 PM


Features
 

Advertising
 

Newsgroups
 


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