ThinkGeo.com    |     Documentation    |     Premium Support

Does all the function of this product support Arabic?

Hi, 


I wonder if  all the function of this product support Arabic?


Thank you.


Senlin



Senlin,


I think the functionalities related with FeatureSource & FeatureLayer should be expected to support multi-language just like Arabic or Chinese.
 
Following is some code snippet I used to test the Chinese character supported.

   string hasChineseCharactorShapeFile = issuePath + "HasChineseCharacter.shp";
            ShapeFileFeatureSource featureSource = new ShapeFileFeatureSource(hasChineseCharactorShapeFile);
            featureSource.RequireIndex = false;

            try
            {
                featureSource.Open();

                featureSource.Encoding = Encoding.UTF8;
                string[] columnNames = new string[] { "CNTRY_NAME" };
                Feature feature = featureSource.GetFeatureById("220", columnNames);

                //Assert.AreEqual("(China)中国", feature.ColumnValues["CNTRY_NAME"]);
            }
            finally
            {
                if (featureSource.IsOpen)
                {
                    featureSource.Close();
                }
            }

Let me know if any more questions.


 
Thanks
Yale

Hi, thank you for your reponse.


And Arabic is very different with Chinese, because the characters in Arabic words arranged from right to left.


So I wonder if ThinkGeo can support it when querying and other map manipulating.


Thank you.


Senlin



Senlin, 
  
 Thanks for your post!  
  
 If possible, can you upload some data which contains Arabic words for me to test and shows me the correct result would be appreciated? 
  
 I am embarrassed to say that I have no chance to recognize Arabic words. 
  
 Let me know if any more questions. 
  
 Thanks. 
  
 Yale 


Yale, 
 Thank you. 
 I am sorry but I have no any data which contains Arabic words now. 
 I will take test and post the result if I got some sample data.  
 Whatever, thank you very much. 
  
 Senlin

Senlin, you are welcome! 
  
 In fact, I am not sure we have supported Arabic words already because of lacking test. It would be very appreciated if you have something for us to test against. 
  
 Let me know if any more questions. 
  
 Thanks. 
  
 Yale