Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / June 2007

Tip: Looking for answers? Try searching our database.

Merge with CSV. Encoding problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Janfry - 13 Jun 2007 01:04 GMT
Hi.

Using Word 2003 SP2, when I link the datasource, a csv file, to the
document, appears a dialog to select the text encoding: Windows (default),
MSDOS, Other.

Programming with VBA, that dialog does not appear, but the document
generated from the merging, the characters with accent (á,é, etc...) are seen
like "squares" or japanese characters.

The Document.Open method has a parameter to specify the Encoding, but
MailMerge.OpenDataSource does not include it.

Is there any way to not appear that dialog and specify the encoding?

Thanks,

Janfry
Peter Jamieson - 13 Jun 2007 02:14 GMT
First, can you try creating the Windows registry entry described in the
following article:

http://support.microsoft.com/kb/290981/en-us

(I don't know whether it's relevant in this situation, and you may need to
choose a different code page from the one mentioned in there).

If that doesn't work, there's only one way I know to do this, and it can
only work for data sources with 255 columns or fewer. You'll find a
description in my post in the following conversation:

http://groups.google.com/group/microsoft.public.word.mailmerge.fields/browse_thr
ead/thread/dc1076d59b977c64/d39588c43fc31d70?lnk=st&q=jamieson+SCHEMA.INI+odc+te
xt+unicode&rnum=1


Peter Jamieson

> Hi.
>
[quoted text clipped - 15 lines]
>
> Janfry

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.