Converting Unicode to ASCII through C/SIDE

nelson
Member Posts: 107
Hi everyone,
Maybe this is a non-sense question...
I am reading some data from an external Data Source which uses Unicode. Obviously, when this data gets written into the Navision database, the text is wrong.
Is there anyway to convert the Unicode text into ASCII text?
Using a custom C/SIDE function or an external component?
Thanks a lot,
Maybe this is a non-sense question...
I am reading some data from an external Data Source which uses Unicode. Obviously, when this data gets written into the Navision database, the text is wrong.
Is there anyway to convert the Unicode text into ASCII text?
Using a custom C/SIDE function or an external component?
Thanks a lot,
Nelson Alberto
0
Comments
-
"Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."0 -
Hi eromein,
I already tried this codeunit before posting the topic.
It doesn't work to convert Unicode->ASCII
Maybe it will become useful if there is some way to convert Unicode to ANSI and then use it to convert it to ASCII...
Can you - or anyone else - think of something else?Nelson Alberto0 -
Ok, but just take a look at this codeunit. Try to create a codeunit that does the same for unicode.
Place it in the download section if you have it so everybody can enjoy your solution."Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."0 -
Hey eromein,
I solved the problem by trying with a different ODBC driver.
It gave me the option to use ASCII, so now Navision understands it OK
Thanks anyway,Nelson Alberto0 -
nice one."Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions