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

Bug #897782 reported by Hunter Morris
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mono (Ubuntu)
Confirmed
Undecided
Unassigned

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

Revision history for this message
Hunter Morris (hunter+launchpad-net) wrote :
Revision history for this message
John Church (sleeveroller) wrote :

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.