Solved

Report Output to TXT loses character format

Posted on 2007-03-26
3
230 Views
Last Modified: 2013-11-28
Here's a tricky question:
I'm working on a database that has a letter formatted in a Japanese font.  This text was copied from Micrsoft Word, formatted in "MS Mincho" font.  It gets copied into labels and text boxes in this letter (report).

If I print this letter from Access, it looks great.  If I export to PDF or RTF, it looks great.  My problem is that my client wants it exported to a TXT file.  When I do that, the japanese text converts to boxes and question marks.

I dont know enough about this to be able to figure out if this is a limitation of the TXT format, or if I'm missing some unicode iso-2022-jp add in or something.  Is there anyone out there who has some ideas?

Thanks,

Ronda
0
Comment
Question by:Ronda-S
  • 2
3 Comments
 
LVL 39

Accepted Solution

by:
stevbe earned 500 total points
ID: 18799508
I *think* the default txt format coming out of Access is ansi, which will not handle the extended characters available in unicode. How are you exporting? If you are uing built-in functions we can change that to I/O code to write the file directly and see if you get any better results.

Steve
0
 

Author Comment

by:Ronda-S
ID: 18802920
Thanks for the post, Steve... I am thinking along your lines, that it's an ansi vs unicode sort of thing.
I am meeting with my client on Thursday to finish up some changes, and they are warming up to the idea of outputting to RTF, which would resolve this issue.

I'll reply after the outcome of that meeting, to see if I need that I/O code you are suggesting.

;-) Ronda
0
 

Author Comment

by:Ronda-S
ID: 18839008
Thanks for your input, Steve... we're actually going to output to PDF !   I've been trying to get them to do this for awhile, but they thought it wasn't an "accepted" format in Japan.  They've since changed their minds.

For now, we'll use a driver, and I know how to change the default printer to the PDF driver.
Maybe they'll upgrade to Access 2007, and I can play with the PDF add-in at that time.

;-) Ronda
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question