guest2013-1
guest
- Joined
- Aug 22, 2003
- Messages
- 19,800
- Reaction score
- 13
Hey,
So I've been struggling for a while (it's almost 4am...) and can't really get this to budge at all.
I have an XML file, ISO-8859-1 (which I ignore using XmlResolver = Nothing in code) which automatically converts data like " and &"#"9472; (replace the " with nothing, vBulletin converts it...) into their UTF-8 counterparts automatically due to the way .NET handles strings (UTF-16)
This screws around with the database being in Latin1 (which I won't be able to convert to UTF-8... would be easy and I would be sleeping now)
I've tried everything under the sun, and at the very least can convert these encoded characters back to "?"... now why the **** can't I just get the string that's in the damn XML!!!?
Frustrating to say the least. So if anyone can shed some light on this it would be awesome. Otherwise I'll just try and change **** on the database and see how much it breaks and blame someone else for it when(if) it does
So I've been struggling for a while (it's almost 4am...) and can't really get this to budge at all.
I have an XML file, ISO-8859-1 (which I ignore using XmlResolver = Nothing in code) which automatically converts data like " and &"#"9472; (replace the " with nothing, vBulletin converts it...) into their UTF-8 counterparts automatically due to the way .NET handles strings (UTF-16)
This screws around with the database being in Latin1 (which I won't be able to convert to UTF-8... would be easy and I would be sleeping now)
I've tried everything under the sun, and at the very least can convert these encoded characters back to "?"... now why the **** can't I just get the string that's in the damn XML!!!?
Frustrating to say the least. So if anyone can shed some light on this it would be awesome. Otherwise I'll just try and change **** on the database and see how much it breaks and blame someone else for it when(if) it does