EzGoingKev
Registered User.
- Local time
- Today, 06:52
- Joined
- Nov 8, 2019
- Messages
- 188
Good afternoon.
I have to build load sheets for a web based third party application my company uses.
- I build the data in Access.
- I export the data out to a text file using DoCmd.TransferText.
- Once the text files are saved I need to manually open each one. Once open I use File -> Save As.
- When the Save As dialog box opens I have to change the encoding to UTF-8 with BOM.
- Once all the text files have been saved using that encoding I put them in a ZIP folder.
- I upload the ZIP folder into the web based app.
I may be wrong but I do not believe the steps above give me a "real" UTF-8 with BOM encoded file.
Is there a way I can incorporate the part above in bold into my export code to give me a file that has the UTF-8 with BOM encoding?
And FYI - Before anyone tells me this a bad way to do it and that I should be doing it this way instead - I have no control over this at all. This is the way I was told to do it. I do know if you do not open and re-save it with the UTF-8 with BOM selected the app kicks it for invalid format.
I have to build load sheets for a web based third party application my company uses.
- I build the data in Access.
- I export the data out to a text file using DoCmd.TransferText.
- Once the text files are saved I need to manually open each one. Once open I use File -> Save As.
- When the Save As dialog box opens I have to change the encoding to UTF-8 with BOM.
- Once all the text files have been saved using that encoding I put them in a ZIP folder.
- I upload the ZIP folder into the web based app.
I may be wrong but I do not believe the steps above give me a "real" UTF-8 with BOM encoded file.
Is there a way I can incorporate the part above in bold into my export code to give me a file that has the UTF-8 with BOM encoding?
And FYI - Before anyone tells me this a bad way to do it and that I should be doing it this way instead - I have no control over this at all. This is the way I was told to do it. I do know if you do not open and re-save it with the UTF-8 with BOM selected the app kicks it for invalid format.