JazzSP8
Well-known Member
- Joined
- Sep 30, 2005
- Messages
- 1,228
- Office Version
- 2013
- 2010
- Platform
- Windows
Hey All
I'm trying to take some some system data on products from three different systems and load them into a fourth.
I'm dealing with special characters in UTF-8 format and have used Text > Import to allow for that, the special characters display correctly when imported in Excel
Now I've done the complicated bit and have come unstuck at what I thought was the easy bit.
I've combined the data from the three sources and saved it out as a text file with a simple;
(The variable is dimmed as a string)
The special characters appear to remain intact when I opened the text file in Notepad.
However, when the chap trying to load them in to the system he came back saying it wouldn't work correctly because the special characters where causing an issue and could I supply it in a UTF-8 friendly format.
So, I worked out I could use Notepad to "Save As > Encoding > UTF-8 file" and sent him that, but, no, that didn't work either and gave him the same issue.
So, I thought perhaps something was getting lost in translation with creating the Excel text file? - Perhaps something I need to add to the 'Open" part of the Macro to create a UTF 8 file from the get go?
Bit of a loss on this one to be honest, any and all suggestions gratefully received?
I'm trying to take some some system data on products from three different systems and load them into a fourth.
I'm dealing with special characters in UTF-8 format and have used Text > Import to allow for that, the special characters display correctly when imported in Excel
Now I've done the complicated bit and have come unstuck at what I thought was the easy bit.
I've combined the data from the three sources and saved it out as a text file with a simple;
Code:
Open "DataTest.txt" For Output As #1
Print #1, DataWeNeed
Close #1
(The variable is dimmed as a string)
The special characters appear to remain intact when I opened the text file in Notepad.
However, when the chap trying to load them in to the system he came back saying it wouldn't work correctly because the special characters where causing an issue and could I supply it in a UTF-8 friendly format.
So, I worked out I could use Notepad to "Save As > Encoding > UTF-8 file" and sent him that, but, no, that didn't work either and gave him the same issue.
So, I thought perhaps something was getting lost in translation with creating the Excel text file? - Perhaps something I need to add to the 'Open" part of the Macro to create a UTF 8 file from the get go?
Bit of a loss on this one to be honest, any and all suggestions gratefully received?