I'm using the xml Library, I wanna read an xml and save the data into a database, but i have a little problem, I'm using a device that doesn't support any encoding, so someone know what should I do?:sign0148:
What is a "data collector"? The Compact Framework definitely supports UTF8 amongst many other encodings. If there is a limitation is must be in whatever a "data collector" is.
Is it a WindowsCE rather than a Windows Mobile device? That might be the problem, although I would be very surprised if it is. Did you install the Compact Framework or did it come in the ROM? At what program line does the error occur and what is the entire wording of the error and how is it shown? In a message box?
I can't tell from what you have posted whether Basic4ppc raised the error or something else. Does the message box have a title? What is the Basic4ppc code at the line of the program that causes the error. Also what does the first line of the xml file look like?
when I use enconding utf-8, appears a message box, "Invalid character in te given encoding. Line 82, position 24."
this is because the character is Ñ.
so I was reading that I should use 'ISO-8859-1' encoding when i wanna usea special characters like Ñ. And then it appears the message "System does not support 'ISO-8859-1' encoding. Line 1 position 31." the message box' title is Basic4ppc.
You are not making this easy! Again I ask what is the Basic4ppc code at the line of the program that causes the error. What does the first line of the xml file look like? Are you using XmlDocument or XmlReader?
ISO-8859-1 is an 8 bit encoding. Is this what your xml file is coded in, otherwise why do you mention it? According to the .NET documentation it is a supported encoding