accents problems on Import TXT file

Get our Free Newletter

Don't you have the time to be online here at DUG every day? So how do you follow what is going on in the Dynamics industry and community?
If you subscribe to the DUG Newsletter then you can relax! We will make sure that you don't miss the big news!

Check out our
Newsletter Subscription Center
page a complete list of our different newsletters.

Solution (Verified) This post has 1 verified solution | 8 Replies | 1 Follower

437 Posts
4,320 Points
Joined: 2009-12-14
Last Online:
2013-5-10 17:27
Location: Portugal
luana posted on 2012-10-29 16:57

I pretend to import a TXT file to Customer table.

My TXT file has name field with specific accents. All names are coorect.

When I imprt TXT file with my dataport de reslt is bad on name fields with that accents.

 

EX:Caniço  after import to navision stays like Caniþo

      José after import to navision stays like  JosÚ  

My DB is SQL and I use SQL Colletion 54

Solution (Verified) Verified Solution

Male
6,752 Posts
156,978 Points
Joined: 1995-10-1
Last Online:
2013-5-22 19:55
Location: Middelfart, Denmark
DynamicsNAVMVP
SystemAdministrator
Solution (Verified) Erik P. Ernst replied on 2012-11-6 17:57
Verified by luana

It should be the same. And thats the format which has always worked for me. How is it looking before you convert it?

Best regards,
Erik P. Ernst
Webmaster 

DUG’s Admin's Blog

Don't forget to "Verify Solution" the post(s) that solved your problem. This credits the experts who helped, earns you points and marks your thread as Resolved so we all know you have been helped.

All Replies

Male
6,752 Posts
156,978 Points
Joined: 1995-10-1
Last Online:
2013-5-22 19:55
Location: Middelfart, Denmark
DynamicsNAVMVP
SystemAdministrator
Solution (Not Verified) Erik P. Ernst replied on 2012-10-29 17:18
Suggested by Erik P. Ernst

When you import using the classic client then you have to remember that NAV text is in ASCII format, whilst your file most like is in ANSI format. So you need to either convert your file manually before importing, or build in an ASCII to ANSI convertor.

Best regards,
Erik P. Ernst
Webmaster 

DUG’s Admin's Blog

Don't forget to "Verify Solution" the post(s) that solved your problem. This credits the experts who helped, earns you points and marks your thread as Resolved so we all know you have been helped.

437 Posts
4,320 Points
Joined: 2009-12-14
Last Online:
2013-5-10 17:27
Location: Portugal
luana replied on 2012-11-6 16:38

After convert the file to ASCII, in what format can I saved my new file to import to Navision correctly?

Male
6,752 Posts
156,978 Points
Joined: 1995-10-1
Last Online:
2013-5-22 19:55
Location: Middelfart, Denmark
DynamicsNAVMVP
SystemAdministrator
Erik P. Ernst replied on 2012-11-6 16:51

You have to save the file to MS-DOS ASCII format for it to import correctly to Navision.

Best regards,
Erik P. Ernst
Webmaster 

DUG’s Admin's Blog

Don't forget to "Verify Solution" the post(s) that solved your problem. This credits the experts who helped, earns you points and marks your thread as Resolved so we all know you have been helped.

437 Posts
4,320 Points
Joined: 2009-12-14
Last Online:
2013-5-10 17:27
Location: Portugal
luana replied on 2012-11-6 17:03

Erik

 

I don't have this file format : MS-DOS ASCII format MS-DOS ASCII :(

Male
6,752 Posts
156,978 Points
Joined: 1995-10-1
Last Online:
2013-5-22 19:55
Location: Middelfart, Denmark
DynamicsNAVMVP
SystemAdministrator
Erik P. Ernst replied on 2012-11-6 17:05

Then try to open it with WORDPAD and save-as from here.

Best regards,
Erik P. Ernst
Webmaster 

DUG’s Admin's Blog

Don't forget to "Verify Solution" the post(s) that solved your problem. This credits the experts who helped, earns you points and marks your thread as Resolved so we all know you have been helped.

437 Posts
4,320 Points
Joined: 2009-12-14
Last Online:
2013-5-10 17:27
Location: Portugal
luana replied on 2012-11-6 17:18

No way, I only have available the Format MS-DOS (txt), and this one creats a file with a bad result.

Thanks 

Male
6,752 Posts
156,978 Points
Joined: 1995-10-1
Last Online:
2013-5-22 19:55
Location: Middelfart, Denmark
DynamicsNAVMVP
SystemAdministrator
Solution (Verified) Erik P. Ernst replied on 2012-11-6 17:57
Verified by luana

It should be the same. And thats the format which has always worked for me. How is it looking before you convert it?

Best regards,
Erik P. Ernst
Webmaster 

DUG’s Admin's Blog

Don't forget to "Verify Solution" the post(s) that solved your problem. This credits the experts who helped, earns you points and marks your thread as Resolved so we all know you have been helped.

437 Posts
4,320 Points
Joined: 2009-12-14
Last Online:
2013-5-10 17:27
Location: Portugal
luana replied on 2012-11-6 18:33

Thanks Erik, it's ok now. Regards

Page 1 of 1 (9 items) | Get this RSS feed | Bookmark and Share