[Bug 51460] New: oleaut32:vartest has a todo because Wine uses an outdated currency symbol for Swiss Francs

WineHQ Bugzilla wine-bugs at winehq.org
Tue Jul 13 18:44:00 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51460

            Bug ID: 51460
           Summary: oleaut32:vartest has a todo because Wine uses an
                    outdated currency symbol for Swiss Francs
           Product: Wine
           Version: 6.10
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: oleaut32
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com
      Distribution: ---

Wine uses uses "SFr." as the currency symbol for Swiss francs instead of "CHF".

According to Wikipedia: "The use of SFr. for Swiss Franc and fr.sv. are
outdated" and are not recognized as correct by the "Secrétariat d'État à
l'économie".

https://en.wikipedia.org/wiki/Swiss_franc

This forces the use of a todo in oleaut32:vartest:

  lcid = MAKELCID(MAKELANGID(LANG_FRENCH,SUBLANG_FRENCH_SWISS),SORT_DEFAULT);
  WCONVERT(L"3CHF", NUMPRS_CURRENCY|NUMPRS_USE_ALL);
  todo_wine EXPECT(1,NUMPRS_CURRENCY|NUMPRS_USE_ALL,NUMPRS_CURRENCY,4,0,0);

And it may cause oleaut32:varformat to fail when run in a Swiss locale.

The "SFr." currency symbol comes from nls/(de|fr|it)s.nls which are generated
from Unicode tables by tools/make_unicode so it's not clear how to fix them.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list