Wrong Interpretation of Import Data (Chinese)

S

Stephan

I have a Prgram generating data in a text fromated file called bon.dat. In
this file german charcaters like äöü and french characters like éèç are
possible. This file is importet by a open macro and letters are created.

The statement in the macro
----------------------------------------------
ActiveDocument.MailMerge.OpenDataSource Name:="C:\fasos\TEMP\bon.dat", _
ConfirmConversions:=False, ReadOnly:=False, LinkToSource:=True, _
AddToRecentFiles:=False, PasswordDocument:="", PasswordTemplate:="", _
WritePasswordDocument:="", WritePasswordTemplate:="", Revert:=False, _
Format:=wdOpenFormatAuto, Connection:="", SQLStatement:="",
SQLStatement1 _
:=""

With ActiveDocument.MailMerge
.Destination = wdSendToNewDocument
.Execute
End With

----------------------------------------------

Dependent of the contents the loding fails. The contents of the file ist
interpretated as a chinese content and the latter has chinese characters
insted of germen or french.

HOW CAN I SET THE INTERPRETATION MODE OF THE IMPORT TO "WINDOWS(STANDARD)".
If I do this import by hand I will be asked about the mode to convert.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top