locked
WP 7.1 project - Regional format and square boxes RRS feed

  • Question

  • I've made a simple test app:

    New WP7.1 project in Visual Studio 2012 then inserted the following code:

    For most countries it works but for example India(Hindi) or United States (Cherokee) it only shows square boxes. Same example but with a new WP8 project works!

    Is there any workaround for a WP7.1 app?

    My setup: Windows Phone 8, Phone Language=English (United States), Country=United States & Regional format=India (Hindi) <= here is where I change to see where it works.

    	public partial class MainPage : PhoneApplicationPage
    	{
    		public MainPage()
    		{
    			InitializeComponent();
    
    			string dayNames = null;
    
    			foreach (string dayName in CultureInfo.CurrentCulture.DateTimeFormat.DayNames)
    			{
    				dayNames += dayName + Environment.NewLine;
    			}
    
    			textBlock.Text = dayNames;
    		}
    	}

     

    Tuesday, March 5, 2013 7:12 PM

Answers

  • These languages were not supported in Windows Phone OS 7.1 so an app targeting that OS version does not know the correct font to use for rendering Glyphs for this language.


    -Eric.

    • Marked as answer by Luc Codewalker Thursday, March 28, 2013 11:37 PM
    Tuesday, March 5, 2013 11:20 PM