Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default How can I export txt(UTF-8 characterset) from Excel?

Hi!
First. I'm sorry. I'm not used to English. ^^;
i'm using VBA in Excel(Office 2003).
I used "SaveAs" Method for coversion Excel to Text File with VBA...( For
uploading Oracle DB with Other Program)
But.
When Execel convert to Text File, Chiness words cracked during converting.
One man said me.
"When You convert excel to Text file.. change characterset 'UTF-8'!!"

I find SaveAs Option "xlUnicodeText" FileFormat.
I can't find Option about "UTF-8" fileformat.

How can I convert Excel to txt file with UTF-8 encoding...

If You know that. Advise me ^^;

Thanks you...

--
Everyday is a little life!!
Thank u!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default How can I export txt(UTF-8 characterset) from Excel?

hi,
may be the problem occure while your windows doesnt support with asian
language / Chineese
Try to setup language option from control panel
--
Regards,

Halim



"HOONHEE" wrote:

Hi!
First. I'm sorry. I'm not used to English. ^^;
i'm using VBA in Excel(Office 2003).
I used "SaveAs" Method for coversion Excel to Text File with VBA...( For
uploading Oracle DB with Other Program)
But.
When Execel convert to Text File, Chiness words cracked during converting.
One man said me.
"When You convert excel to Text file.. change characterset 'UTF-8'!!"

I find SaveAs Option "xlUnicodeText" FileFormat.
I can't find Option about "UTF-8" fileformat.

How can I convert Excel to txt file with UTF-8 encoding...

If You know that. Advise me ^^;

Thanks you...

--
Everyday is a little life!!
Thank u!!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default How can I export txt(UTF-8 characterset) from Excel?

Thank for your reply..

Hmmm...

Chiness use my excel program with their computer in China.

When they clik "Create File" button, VBA process do converting.
Chiness upload the result text file to Web System.

When I query DB. All Chiness cracked.
Oracel DB NLS = UTF-8

Can my VBA coding convert excel to text with "UTF-8" characterset?


--
Everyday is a little life!!
Thank u!!


"Halim" wrote:

hi,
may be the problem occure while your windows doesnt support with asian
language / Chineese
Try to setup language option from control panel
--
Regards,

Halim



"HOONHEE" wrote:

Hi!
First. I'm sorry. I'm not used to English. ^^;
i'm using VBA in Excel(Office 2003).
I used "SaveAs" Method for coversion Excel to Text File with VBA...( For
uploading Oracle DB with Other Program)
But.
When Execel convert to Text File, Chiness words cracked during converting.
One man said me.
"When You convert excel to Text file.. change characterset 'UTF-8'!!"

I find SaveAs Option "xlUnicodeText" FileFormat.
I can't find Option about "UTF-8" fileformat.

How can I convert Excel to txt file with UTF-8 encoding...

If You know that. Advise me ^^;

Thanks you...

--
Everyday is a little life!!
Thank u!!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default How can I export txt(UTF-8 characterset) from Excel?

Hi,

try to use this:

ActiveWorkbook.SaveAs Filename:= _
"C:\china.txt", FileFormat:=xlUnicodeText , CreateBackup:=False

xlUnicodeText -- is most important

--
Regards,

Halim



"HOONHEE" wrote:

Thank for your reply..

Hmmm...

Chiness use my excel program with their computer in China.

When they clik "Create File" button, VBA process do converting.
Chiness upload the result text file to Web System.

When I query DB. All Chiness cracked.
Oracel DB NLS = UTF-8

Can my VBA coding convert excel to text with "UTF-8" characterset?


--
Everyday is a little life!!
Thank u!!


"Halim" wrote:

hi,
may be the problem occure while your windows doesnt support with asian
language / Chineese
Try to setup language option from control panel
--
Regards,

Halim



"HOONHEE" wrote:

Hi!
First. I'm sorry. I'm not used to English. ^^;
i'm using VBA in Excel(Office 2003).
I used "SaveAs" Method for coversion Excel to Text File with VBA...( For
uploading Oracle DB with Other Program)
But.
When Execel convert to Text File, Chiness words cracked during converting.
One man said me.
"When You convert excel to Text file.. change characterset 'UTF-8'!!"

I find SaveAs Option "xlUnicodeText" FileFormat.
I can't find Option about "UTF-8" fileformat.

How can I convert Excel to txt file with UTF-8 encoding...

If You know that. Advise me ^^;

Thanks you...

--
Everyday is a little life!!
Thank u!!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export Excel tuncating leading zeros while export to excel from da RHBKV Setting up and Configuration of Excel 1 July 15th 09 01:48 PM
export re-order input fields to export file [csv] madisonpete Excel Worksheet Functions 0 November 30th 07 03:51 PM
Can I export from Excel to ACT Parm Excel Discussion (Misc queries) 2 July 1st 05 03:28 PM
Export to Excel mark Excel Programming 0 February 4th 04 10:29 PM
Export to Excel Mahesh[_4_] Excel Programming 0 November 11th 03 02:07 PM


All times are GMT +1. The time now is 10:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"