arabic letter problem

Last post 11-09-2009 3:24 AM by osamatu. 11 replies.

Sort Posts:

  • arabic letter problem

    11-08-2009, 1:56 AM
    • Member
      point Member
    • osamatu
    • Member since 11-08-2009, 1:48 AM
    • Posts 6

    i bult a web site using asp and c# and its working good, but when i make a setup file from my web site and install it the arabic letter not working!!!.

     

  • Re: arabic letter problem

    11-08-2009, 3:34 AM
    • All-Star
      59,691 point All-Star
    • anas
    • Member since 09-21-2006, 4:31 AM
    • Palestinian Territory, Occupied
    • Posts 6,755
    • Moderator

    osamatu:
    ut when i make a setup file from my web site and install it the arabic letter not working!!!.
     

    What do you mean by that ? do you mean that you can't type in arabic ? or the data is not being saved correctly ? or the serach facility doesn't work when use arabic characters?

    Regards,

    Anas Ghanem | Blog

  • Re: arabic letter problem

    11-08-2009, 3:52 AM
    • Member
      point Member
    • osamatu
    • Member since 11-08-2009, 1:48 AM
    • Posts 6

    no i can type arabic, but all my labels its not view the arabic letter 

  • Re: arabic letter problem

    11-08-2009, 5:09 AM
    • Contributor
      5,419 point Contributor
    • alaa9jo
    • Member since 07-01-2009, 9:17 AM
    • Jordan
    • Posts 986

    Maybe it has something to do with the font (arabic font is not installed or the server doesn't have arabic language installed) or with the encoding (make sure that all pages are Unicode [Utf8 with signature])

    Best Regards,
    Ala'a Alnajjar
    ----------------------------------------------------
    Please remember to click “Mark as Answer” on the post(s) that help(s) you even if they were for the same person.
    Also remember to close the thread by selecting “Resolved”,you will find it in your first post.

    Convert C# to VB.net and visa versus

    My Webblog
  • Re: arabic letter problem

    11-08-2009, 5:20 AM
    • Member
      point Member
    • osamatu
    • Member since 11-08-2009, 1:48 AM
    • Posts 6

    arabic font is  installed and the server arabic language installed, and i use the utf8 unicode, and i have a old setup file from my project and it's working good, also when running the project in vs.net 2005 its working!!!

  • Re: arabic letter problem

    11-08-2009, 5:49 AM
    • All-Star
      59,691 point All-Star
    • anas
    • Member since 09-21-2006, 4:31 AM
    • Palestinian Territory, Occupied
    • Posts 6,755
    • Moderator

    osamatu:

    no i can type arabic, but all my labels its not view the arabic letter 

     

    Please check the database collation, it must be set to arabic.

    http://blog.sqlauthority.com/2007/08/30/sql-server-2005-find-database-collation-using-t-sql-and-ssms/

    Regards,

    Anas Ghanem | Blog

  • Re: arabic letter problem

    11-08-2009, 6:24 AM
    • Member
      point Member
    • osamatu
    • Member since 11-08-2009, 1:48 AM
    • Posts 6

    the  view of arabic letter like this ��������

  • Re: arabic letter problem

    11-08-2009, 6:28 AM
    • All-Star
      59,691 point All-Star
    • anas
    • Member since 09-21-2006, 4:31 AM
    • Palestinian Territory, Occupied
    • Posts 6,755
    • Moderator

    osamatu:

    the  view of arabic letter like this ��������

     

    Well, If you are using varchar or char and not using NCahr or NVarchar, the already exits data may become like that when you change the collation.

    Can you try to insert a new records and see if they will be stored correctly ? what is the type of string columns (NChar ? nVarchar?varchar?... ?).

    I will move your thread to Sql server forum to get a better help.

     

    Regards,

    Anas Ghanem | Blog

  • Re: arabic letter problem

    11-08-2009, 7:02 AM
    • Member
      point Member
    • osamatu
    • Member since 11-08-2009, 1:48 AM
    • Posts 6

    the data stores correctly, but the letter in lable not!!! 

  • Re: arabic letter problem

    11-08-2009, 12:25 PM
    • All-Star
      29,944 point All-Star
    • Naom
    • Member since 12-31-2007, 7:08 PM
    • Wisconsin
    • Posts 6,672

    Can you post the structure of your table? Do you use nvarchar type for your fields? 

    Looking for a job opportunity.

    Beware of bugs in the above code; I have only proved it correct, not tried it.
    (Donald Knuth)

    Visit my blog

    PluralSight Learning Library
  • Re: arabic letter problem

    11-08-2009, 2:10 PM
    Answer
    • All-Star
      59,691 point All-Star
    • anas
    • Member since 09-21-2006, 4:31 AM
    • Palestinian Territory, Occupied
    • Posts 6,755
    • Moderator

    osamatu:

    the data stores correctly, but the letter in lable not!!! 

    OK , so it's not a database issue.

    Did you changed the Request/request encoding through the Globaliation section in web.config ?

    The default request and response encoding is UTF8 which must handle the arabic characters.

    Please if you have the Globalization section in web.config, make sure that the request and response encoding is set to UTF8 which is the default.

    <globalization requestEncoding="utf-8"  responseEncoding="utf-8" />


    Also, are you facing that issue when you deply the application ? is it working on your dev pc ? because i remeber that i faced that issue when i deployed my website on server that doesn't had the arabic langauge installed on it.

    Regards,

    Anas Ghanem | Blog

  • Re: arabic letter problem

    11-09-2009, 3:24 AM
    • Member
      point Member
    • osamatu
    • Member since 11-08-2009, 1:48 AM
    • Posts 6

    When i  use "publish web site" and deploy it, its working, but when make setup file its not. i use  Microsoft Web Deployment Tool.

    now i determine the poblem happen whn i make the deployment file using Microsoft Web Deployment Tool

Page 1 of 1 (12 items)