hair splitting XML encoding problems

jordi79
Member Posts: 280
Hi,
I have to export xml files in a specific char encoding. Is there any easier way to do this, apart of coming up with the character maps my self in NAV and converting each string?
Is there an automation object existing in NAV that I can use for this encoding? I came across this tool -->
http://www.kalytta.com/tools.php
And it seems promising. But if possible, I do not want to install any new components and just use what is existing in NAV. Because server is hosted in a central environment, and would not want to introduce any changes if at all possible.
help is much appreciated....
I have to export xml files in a specific char encoding. Is there any easier way to do this, apart of coming up with the character maps my self in NAV and converting each string?
Is there an automation object existing in NAV that I can use for this encoding? I came across this tool -->
http://www.kalytta.com/tools.php
And it seems promising. But if possible, I do not want to install any new components and just use what is existing in NAV. Because server is hosted in a central environment, and would not want to introduce any changes if at all possible.
help is much appreciated....
0
Comments
-
There is no way "by default". Exporting through XMLPort is using UTF-8 or UTF-16, you cannot change that. May be in some future versions, but not today... But! If the codepage is correctly marked in the XML tag, it is on the reading part to decode the data correctly. Applications at the end should be able to encode the data from UTF-8 correctly. I think that there must be way how to make some compromise when you ask them...0
-
the xml export is for some banking system usage. And i doubt that they can compromise on the encodings. But, I have created my own function to encode the texts into the format that is required. But I was just wondering that in the xmldom if they are functions already that I can use. Because one of the challenges I had in encoding is that I have to send each value that is to be placed into xml tags to be encoded, and not the whole text file. I would have preferred if I were send the whole file, and somehow I can only encode the values in xml tags.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