Is there any way to import a Unicode file into Navision?
I'm trying to do a Dataport to import a unicode file with some fields that have Chinese characters, into a company that is set up in Navision to support Chinese (non-Unicode in NAV). But the Dataport doesn't recognize the Unicode characters, since Navision is a non-Unicode program (until NAV 2013).
I could do a conversion of the file before I import it, through Notepad++, to convert the file from Unicode to the Windows Code Page, so Navision could import it.
But, I need to import this file multiple times per day, so I need an automated solution, instead of just a manual solution.
Thanks in advance for your help!
Joseph Dewey
Microsoft Dynamics NAV User
0
Comments
Pargesoft
Microsoft Dynamics NAV User
For the dll part you can search for encoding conversion and writing a com visible dll in dotnet related resources.
Basically the result will be like the following lines in csharp:
create your bat files to install and uninstall the dll easily. (using regasm and gacutil)
install.bat file can have the following lines:
and in navision write a function like:
Hope this helps.
Pargesoft