Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: xml localization problem >Thread Next - Re: xml localization problem Re: xml localization problemTo: NULL Date: 10/4/2006 11:27:00 PM Hi, While saving the XML file I am using following processing instruction: "version='1.0' encoding='UTF-8'" Please suggest go I need to change this? Should I use encoding="ISO-8859-1"?? Internally apart from this, I am maintaining another version number which is written to the xml file as follows: CComBSTR varVersion; double m_dCurrentVer = 3.3; hr = VarBstrFromR8(m_dCurrentVer, LOCALE_USER_DEFAULT, LOCALE_NOUSEROVERRIDE, &varVersion); CComVariant varNodeValue(varVersion); hr = spVersionNode->put_nodeTypedValue(varNodeValue); and while reading m_dCurrentVer (double value) from xml file it gives an error when the locale is different. Please suggest. Thank you, Rhn www.fruitfruit.com wrote: > If you set encoding in preprocessing instruction, you'll not suffer such > problem. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
