Problème with accented characters

Djou2424
Member Posts: 76
We are importing and exporting accented characters for one of our client.
We are having problem when exporting it to a text file.
We are already using the ASCIItoANSI and ANSItoASCII functions.
It works fine with some characters like É
But for others, like È, it doesn't.
As an example, exporting the string "JOSÉE BELLEROSE ÈÉÀ" results in "JOSÉE BELLEROSE ßÉÚ"
As you can see, the É character is converted properly, but not the È and the À
Any idea what we are doing wrong?
We are having problem when exporting it to a text file.
We are already using the ASCIItoANSI and ANSItoASCII functions.
It works fine with some characters like É
But for others, like È, it doesn't.
As an example, exporting the string "JOSÉE BELLEROSE ÈÉÀ" results in "JOSÉE BELLEROSE ßÉÚ"
As you can see, the É character is converted properly, but not the È and the À
Any idea what we are doing wrong?
0
Comments
-
Probably nothing.
Probably the conversion of that character is not foreseen in the functions.
You have to find out from which ASCII to which ASCII it must go and add those values to the conversion strings.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
And how do I find that conversion exactly?0
-
Djou2424 wrote:We are already using the ASCIItoANSI and ANSItoASCII functions.
Which one are you using?
http://www.mibuso.com/dlinfo.asp?FileID=1096ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®ÁÀÊËÈÍÎÏÌÓßÔÒÚÛÙ'
'€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©µ¶·ÒÓÔÖרÞàáâãéêë
http://mibuso.com/dlinfo.asp?FileID=287'€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬®¯ÝÝÝÝݵ¶·¸ÝÝ++½¾++--+-+ÆÇ++--Ý-
'ÏÐÑÒÓÔiÖר++Ý_ÝÞîàáâãäåæçèéêëìíîïðñ=óôõö÷øùúûüýÝÿ';0 -
I'm using the Ansi-Ascii converter.
http://www.mibuso.com/dlinfo.asp?FileID=287
But in Navision, some characters are replaced by white squares or double vertical lines0 -
We used this solution see here:
viewtopic.php?f=7&t=25554
and finally arrived at:To make this unnecessary in Navision.
Start->Run->regedit
Go to [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage]
And change the "OEMCP" value to "1252" (or the same as ACP)
Reboot
Changing to 1252 - really helped us with special characters.0 -
It's working, thank you very much.0
-
The downside is you have to change it on all machines0
-
I know, I'll contact our client and propose the solution to them, we will see if they agree to change it on all machine or not.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