Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old January 24th, 2006, 03:55 AM
watto
Guest
 
Posts: n/a
Default Export unicode to text file

We have a rather large application built around Access 2k3 which will
soon be used for a project in China. The data is exported into CSV
files for use by another application. We are just learning that
exporting the Chinese text (unicode data) is not as straight forward as
we had hoped. We can enter the Chinese on the forms and it is stored in
the tables, but is converted to ??? when exported using Print
functions.

There is a lot of manipulation of the data in code so it is not
possible to simply dump the table using OutputTo (which can output the
unicode if used from a macro). An attempt using Put to a binary file
didn't seem to work.

Any ideas on how/if this can be done?

cheers
Andrew

  #2  
Old January 24th, 2006, 02:05 PM
Tom van Stiphout
Guest
 
Posts: n/a
Default Re: Export unicode to text file

On 23 Jan 2006 19:42:54 -0800, "watto" <watto101@gmail.com> wrote:

You can do it using the FileSystemObject. Note the 3rd argument to the
CreateTextFile method allows you to specify Unicode.

-Tom.

[color=blue]
>We have a rather large application built around Access 2k3 which will
>soon be used for a project in China. The data is exported into CSV
>files for use by another application. We are just learning that
>exporting the Chinese text (unicode data) is not as straight forward as
>we had hoped. We can enter the Chinese on the forms and it is stored in
>the tables, but is converted to ??? when exported using Print
>functions.
>
>There is a lot of manipulation of the data in code so it is not
>possible to simply dump the table using OutputTo (which can output the
>unicode if used from a macro). An attempt using Put to a binary file
>didn't seem to work.
>
>Any ideas on how/if this can be done?
>
>cheers
>Andrew[/color]

 

Bookmarks

Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles