Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi, My purpose is create a macro that writes a XML file. I have created a file text with several -Print #, string - commands. In fact, it is a text file with .xml extension, and I have put in th first line the tag -<?xml version='1.0' encoding='*UTF-8*' ?-, becaus I want this document to be encoded that way. What happens is that I think that the way I create the file doesn't us the UTF8 encoding, so when I try to open the XML file with Interne Explorer I get an error (I use some special characters, as í because there are problems with some characters. I would like to know how to create a file with UTF-8 encoding, or th other option would be how to change the encoding of an existing fil (even better!). In both cases, I need to do all these thing via a excel macro (vba). I have spent several days surfing the web and I'm beginnig t desperate!!!! Thanks in advanc -- anlana ----------------------------------------------------------------------- anlanac's Profile: http://www.excelforum.com/member.php...fo&userid=2698 View this thread: http://www.excelforum.com/showthread.php?threadid=40195 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
file conversion encoding error | Excel Discussion (Misc queries) | |||
xls, txt encoding | Excel Discussion (Misc queries) | |||
File conversion-text encoding issue | Excel Discussion (Misc queries) | |||
UTF-8 encoding CSV | Excel Discussion (Misc queries) | |||
Choosing a file encoding in VBA | Excel Discussion (Misc queries) |