[ubuntu-mono] [Bug 897782] Re: System.Globalization.RegionInfo missing ThreeLetterISORegionName, ThreeLetterWindowsRegionName, and CurrencySymbol

John Church 897782 at bugs.launchpad.net
Tue Jan 10 08:00:37 UTC 2012


Tested this with Precise Pangolin and the problem persists. Out of
curiosity I ran the same code on Windows XP with MS .NET 3.5 and got the
following output:

   Name:                         GB
   DisplayName:                  United Kingdom
   EnglishName:                  United Kingdom
   IsMetric:                     True
   ThreeLetterISORegionName:     GBR
   ThreeLetterWindowsRegionName: GBR
   TwoLetterISORegionName:       GB
   CurrencySymbol:               £
   ISOCurrencySymbol:            GBP

** Changed in: mono (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to mono in Ubuntu.
https://bugs.launchpad.net/bugs/897782

Title:
  System.Globalization.RegionInfo missing ThreeLetterISORegionName,
  ThreeLetterWindowsRegionName, and CurrencySymbol

Status in “mono” package in Ubuntu:
  Confirmed

Bug description:
  Compiling and running the code attached (e.g. "mcs
  CurrencySymbolFail.cs") produces:

     Name:                         GB
     DisplayName:                  United Kingdom
     EnglishName:                  United Kingdom
     IsMetric:                     True
     ThreeLetterISORegionName:     
     ThreeLetterWindowsRegionName: 
     TwoLetterISORegionName:       GB
     CurrencySymbol:               
     ISOCurrencySymbol:            GBP

  Note that some fields are empty, including CurrencySymbol which I
  expected to be "£". There is a (very old) discussion on the Novell bug
  tracker which describes a similar issue:

  https://bugzilla.novell.com/show_bug.cgi?id=417832

  I do not have any experience building Mono packaging, but here is the
  output of my setup:

  $ lsb_release -rd
  Description:	Ubuntu 11.10
  Release:	11.10

  $ sudo apt-cache policy libmono-corlib2.0
  libmono-corlib2.0-cil:
    Installed: 2.10.5-1
    Candidate: 2.10.5-1
    Version table:
   *** 2.10.5-1 0
          500 http://gb.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
          100 /var/lib/dpkg/status

  $ sudo apt-cache policy libmono-corlib4.0
  libmono-corlib4.0-cil:
    Installed: 2.10.5-1
    Candidate: 2.10.5-1
    Version table:
   *** 2.10.5-1 0
          500 http://gb.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mono/+bug/897782/+subscriptions




More information about the Ubuntu-mono mailing list