Link to home
Create AccountLog in
Windows 7

Windows 7

--

Questions

--

Followers

Top Experts

Avatar of lucdcd
lucdcd🇱🇺

Problem Importing Regional Settings by XML file using > control intl.cpl,, /f:"c:\regiset.xml"
Dear all,

We are working on a XML file based on the article of Microsoft to import Regional Settings into the current user account as well as the Default User. The only little problem we have is to set the variable "sCurrency" to the Euro Symbol "€". This one is NOT accepted.

MS Article: http://msdn.microsoft.com/en-us/library/bb507201(VS.85).aspx
MS Article with exemple: http://msdn.microsoft.com/en-ie/goglobal/bb964650(en-us).aspx


To Import the XML file, we use:
control intl.cpl,, /f:"c:\regiset.xml"

Open in new window


The part that is not working is the following:
 User generated image

Thank your helps... :)




 regiset.xml

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of BigRatBigRat🇫🇷

I'd use the Unicode Hex Entity for the Euro and that would be €

When you type in with Alt-Graphic E a hex 80 gets stored and that is an illegal character in UTF-8 which is the defult encoding. You might try setting the XML encoding in the <?xml?> header to Windows-1252 but that might not always work on all platforms.

Avatar of lucdcdlucdcd🇱🇺

ASKER

Nop, did not work...
I also checked in this direction, but havend found anything...

<!-- Regional Settings: Currency -->
        <gs:sCurrency>&#x20AC;</gs:sCurrency>
        <gs:iCurrency>3</gs:iCurrency>
        <gs:iNegCurr>15</gs:iNegCurr>
        <gs:sMonDecimalSep>,</gs:sMonDecimalSep>
        <gs:iCurrDigits>2</gs:iCurrDigits>
        <gs:sMonThousandSep>.</gs:sMonThousandSep>
        <gs:sMonGrouping>3</gs:sMonGrouping>

Open in new window


ASKER CERTIFIED SOLUTION
Avatar of lucdcdlucdcd🇱🇺

ASKER

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of lucdcdlucdcd🇱🇺

ASKER

nice

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of BigRatBigRat🇫🇷

When you say "Nope, did not work" what exactly was the error message/false screen etc...?

Windows 7

Windows 7

--

Questions

--

Followers

Top Experts

Windows 7 is an operating system from Microsoft. Features include multi-touch support, a redesigned Windows Shell with a new taskbar, referred to as the Superbar, a home networking system called HomeGroup, and performance improvements.