Click here to Skip to main content
15,895,799 members
Articles / Desktop Programming / XAML

Silverlight 1.1 Hebrew and Arabic Language Support

Rate me:
Please Sign up or sign in to vote.
4.05/5 (8 votes)
31 Jan 2008Ms-PL7 min read 44.2K   290   10  
An article presenting Silverlight 1.1 Hebrew and Arabic language support
/*
 * Created by SharpDevelop.
 * User: itai
 * Date: 1/16/2007
 * Time: 7:55 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;

namespace NBidi
{
	public static class BidiChars
	{
		#region Bidi Control Characters
		/// <summary>
		/// Right-to-Left Mark
		/// </summary>
		public const char RLM = '\u200F';
		
		/// <summary>
		/// Start of Right-to-Left Embedding
		/// </summary>
		public const char RLE = '\u202B';
		
		/// <summary>
		/// Start of Right-to-Left Override
		/// </summary>
		public const char RLO = '\u202E';
	
		/// <summary>
		/// Left-to-Right Mark
		/// </summary>
		public const char LRM = '\u200E';
		
		/// <summary>
		/// Start of Left-to-Right Embedding
		/// </summary>
		public const char LRE = '\u202A';
		
		/// <summary>
		/// Start of Left-to-Right Override
		/// </summary>
		public const char LRO = '\u202D';
		
		/// <summary>
		/// Pop Directional Formatting
		/// </summary>
		public const char PDF = '\u202C';
		#endregion
		
		/// <summary>
		/// A Dummy Character Indicating None.
		/// </summary>
		public const char NotAChar = '\uFFFF';
		
		#region Arabic Characters
		/// <summary>
		/// Arabic Letter Lam
		/// </summary>
		public const char ARABIC_LAM = '\u0644';
		
		/// <summary>
		/// Arabic Letter Alef With Madda Above
		/// </summary>
		public const char ARABIC_ALEF_MADDA_ABOVE = '\u0622';
		
		/// <summary>
		/// Arabic Letter Alef With Hamza Above
		/// </summary>
		public const char ARABIC_ALEF_HAMZA_ABOVE = '\u0623';
		
		/// <summary>
		/// Arabic Letter Alef With Hamza Below
		/// </summary>
		public const char ARABIC_ALEF_HAMZA_BELOW = '\u0625';
		
		/// <summary>
		/// Arabic Letter Alef
		/// </summary>
		public const char ARABIC_ALEF = '\u0627';

		/// <summary>
		/// Arabic Ligature Lam With Alef With Madda Above Isolated Form
		/// </summary>
		public const char ARABIC_LAM_ALEF_MADDA_ABOVE_ISOLATED = '\uFEF5';
		
		/// <summary>
		/// Arabic Ligature Lam With Alef With Madda Above Final Form
		/// </summary>
		public const char ARABIC_LAM_ALEF_MADDA_ABOVE_FINAL = '\uFEF6';
	
		/// <summary>
		/// Arabic Ligature Lam With Alef With Hamza Above Isolated Form
		/// </summary>
		public const char ARABIC_LAM_ALEF_HAMZA_ABOVE_ISOLATED = '\uFEF7';
		
		/// <summary>
		/// Arabic Ligature Lam With Alef With Hamza Above Final Form
		/// </summary>
		public const char ARABIC_LAM_ALEF_HAMZA_ABOVE_FINAL = '\uFEF8';
	
		/// <summary>
		/// Arabic Ligature Lam With Alef With Hamza Below Isolated Form
		/// </summary>
		public const char ARABIC_LAM_ALEF_HAMZA_BELOW_ISOLATED = '\uFEF9';
		
		/// <summary>
		/// Arabic Ligature Lam With Alef With Hamza Below Final Form
		/// </summary>
		public const char ARABIC_LAM_ALEF_HAMZA_BELOW_FINAL = '\uFEFA';
		
		/// <summary>
		/// Arabic Ligature Lam With Alef Isolated Form
		/// </summary>
		public const char ARABIC_LAM_ALEF_ISOLATED = '\uFEFB';
		
		/// <summary>
		/// Arabic Ligature Lam With Alef Final Form
		/// </summary>
		public const char ARABIC_LAM_ALEF_FINAL = '\uFEFC';
		#endregion
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


Written By
JustinAngel.Net, Senior .Net consultant
Israel Israel
Justin-Josef Angel is a C# Microsoft Most Valuable professional, a Senior .Net consultant in Israel with 4 years of .Net experience and has 8 years of Web experience.

Justin's been working this past year on two Enterprise sized Silverlight projects with his customers. During that time he's gained a real-insight into Silverlight's inner workings and how to integrate Silverlight into the real world of software development. Additionally, During that time he's developed a few well-known projects like the "Silverlight 1.0 Javascript Intellisense", "Silverlight 1.1 Hebrew & Arabic Languages support" and a few others you might know.

Justin is also a seasoned presenter with an impressive track-record of talking in front of thousands of people in Israel.

Justin owns the first .Net blog written in Hebrew - http://www.JustinAngel.Net .
And he also owns an additional blog with mixed Hebrew & English content - http://blogs.Microsoft.co.il/blogs/JustinAngel.

A full list of his articles (all 100+ of them) can be found at: http://www.JustinAngel.Net/#index




Comments and Discussions