site' s pages act differently to show turkish characters

Last post 03-31-2009 10:30 AM by abinashpatra. 10 replies.

Sort Posts:

  • site' s pages act differently to show turkish characters

    10-01-2006, 2:10 PM
    • Member
      30 point Member
    • cafer
    • Member since 10-01-2006, 5:55 PM
    • Posts 6

    hello everybody.

    I m new here and my problem is. I installed the application attached with the database. And it is running no problem about that.

    BUT THE PROBLEM IS some pages show turkish character correct But some pages not.

    Even it differs in a page' sections. Do you have any idea about that. I couldn t solve the problem. But ı think maybe it is because of asp.net controls and their settings, properties or what else.

    I ll be very gratefull if someone help me about the problem. Thanks a lot .

     

  • Re: site' s pages act differently to show turkish characters

    10-03-2006, 6:38 AM
    • Member
      30 point Member
    • cafer
    • Member since 10-01-2006, 5:55 PM
    • Posts 6

    hi everybody,

    I solved the problem in a mechanic way.

    In default page there wasn t turkish characters problem. So I changed its name on my desktop. added my project using "add existing item" -. I m using Visul Studio-. Changed its contain with my other pages' for example Items page. And it worked. I did the same for other pages.

    But I still deserve to learn its reason. Why he created this problem. If is there anybody interest with the subject. I will try to tell the subject in detail.

    -I set up small business starter kit (as www.cajareklam.com) connected the sql server database and it worked. then I try to change in it' s pages with turkish words.

    -there wasnt problem with default page. But in other pages there were problem partly. I solved that  page parts that don t create  problem were feeding from sql or xml databases.

    then I tried to solve the problem in some parts of page that don t show turkish character correct.

    -default encoding was utf-8 . And I know that it works pretty good with turkish characters. But to be sure ı cahnged with turkish(ISO). And it didn t work. I made numerous changes of encoding, culture,ui in pages and web.config. And they didn t work.

    -I even tried to make copy of default page with its code page(only page that works correct). First I added a web form to the project linked it to menu controls. And then I copied and pasted all the text in default,aspx and default.aspx.cs to the new page. This didn t work also.

    so gentlemen if you have an answer about the problem pls write an answer.

    yhanks a lot

     

     

  • Re: site' s pages act differently to show turkish characters

    10-05-2006, 2:33 PM
    • Member
      209 point Member
    • mirtariq
    • Member since 01-10-2006, 11:54 PM
    • Redmond
    • Posts 43
    • AspNetTeam

    Cafer -

    I could not recreate the problem you are facing  with Turkish characters.

    What I gather from your posts is that only one page, Default.aspx, displays the Turkish characters fine. All others such as Items.aspx or Testimonials.aspx do not.

     I tried to include the Turkish text -- Amaç Beğeni ve Zevklerinize Uygunluğu -- in Items.aspx by using it as a category name. That worked fine. Then I tried using the same Turkish text as static text on the page on the right hand column (Our customer rave about our products) and again it seemed to be working fine.

     
    I would need more details to find the cause of the display issues. Can you provide:

    1. The speicific page which caused problem. For example Testimonials.aspx

    2. The location on the page where you are inserting Turkish characters e.g.  In Items.xml  or on Items.aspx under 'CONTENT SIDE 2 COLUMN'

    2. The turkish text or characters that were causing problem e.g. Amaç Beğeni ve Zevklerinize Uygunluğu

    3. The browser and its version that you are using. For example Internet Explorer 6 etc.

    Let me know,
    Thanks

    Mir 

     

  • Re: site' s pages act differently to show turkish characters

    10-10-2006, 5:12 AM
    • Member
      30 point Member
    • cafer
    • Member since 10-01-2006, 5:55 PM
    • Posts 6

    all yhe pages except default page have caused the problems. But in these pages there weren t problems in text that come from either sql or xml database.

    Im using internet explorer 6.

    Inthe other hand when I was testing the site locally by using Visual Studio utilities, there wasn t any problem in any page.

    The problem has beeen occured when ı uploaded the site into the remote server.

    I contacted with the host administrator. But they told me that everything is ok. with server setting. And because one page of websiteis running normally that must be related with the code.

    So I solved it in a mechanic way that ı told before.

    Thanks for your interest. if you need further information Im ready to provide it.

  • Re: site' s pages act differently to show turkish characters

    10-10-2006, 5:45 AM
    • Member
      30 point Member
    • cafer
    • Member since 10-01-2006, 5:55 PM
    • Posts 6

    this is my second reply to your question.

    soory ı forgot to tell. I didn t yet edit all the pages which have problem the site. So You can view www.cajareklam.com In the right section of PEOPLE page "

    Life at Fabrikam

    Caja reklam tasarým kiþisel website blog resultant lingue es plu simplic e regulari quam ti del coalescent lingues. Li nov lingua franca va esser plu simplic e regulari quam li existent Europan lingues. It va esser tam simplic quam "

    Text which is underlined doesn t seem correct. Maybe as you estimate, it is because of the browser.

    Also looking its source maybe will give you a clue.

    good luck

    g

  • Re: site' s pages act differently to show turkish characters

    10-13-2006, 1:27 PM
    • Member
      209 point Member
    • mirtariq
    • Member since 01-10-2006, 11:54 PM
    • Redmond
    • Posts 43
    • AspNetTeam

    By "not correct" , do you mean they are wrong characters? Because I see the text and there are no empty glyphs or garbage charactes.

  • Re: site' s pages act differently to show turkish characters

    10-13-2006, 5:25 PM
    • Member
      209 point Member
    • mirtariq
    • Member since 01-10-2006, 11:54 PM
    • Redmond
    • Posts 43
    • AspNetTeam

    Also:

     It seems that the text is corrupted by the time it reaches the browser. Therefore, I need to know:

    1. Did you add any encoding info to web.config under the <globalization> tag.

    2. In what encoding do you save the People.aspx file ?

    3.  If "tasarým kiþisel" is the incorrect output, what would be the expected output i.e. what would be the correct output ? 

    4. Where did you try to apply the different encodings as you wrote earlier:

     "-default encoding was utf-8 . And I know that it works pretty good with turkish characters. But to be sure ı cahnged with turkish(ISO). And it didn t work. I made numerous changes of encoding, culture,ui in pages and web.config. And they didn t work."

     

    -Mir

  • Re: site' s pages act differently to show turkish characters

    10-18-2006, 5:50 AM
    • Member
      30 point Member
    • cafer
    • Member since 10-01-2006, 5:55 PM
    • Posts 6

    Hi  Mirtariq, sorry for being late to reply.

    They are wrong characters.

    I copied the below text from the same (www.cajareklam.com) site' s ITEMS page.  From the left hand column. And you can see the text in correct form that can t be seen so in the other page. They are underlined here.

    "caja reklam caja reklam caja reklam caja reklam caja reklam caja reklam website design caja reklam caja reklam caja reklam tasarım caja reklam caja reklam weblog caja reklam caja reklam kişisel website caja reklam.

    Jane Doe, Phoenix, AZ"

  • Re: site' s pages act differently to show turkish characters

    10-18-2006, 6:02 AM
    • Member
      30 point Member
    • cafer
    • Member since 10-01-2006, 5:55 PM
    • Posts 6

    hello,

    1.No I didn t add

    2. It s now in turkish(ISO),charset=iso-8859-9

    But also I tried it with UTF-8 earlier. it was default also.

    3.Yo can see the correct form in the same site' s (www.cajareklam.com) ITEMS page at left hand column text as underlined here.                                

    "caja reklam caja reklam caja reklam caja reklam caja reklam caja reklam website design caja reklam caja reklam caja reklam tasarım caja reklam caja reklam weblog caja reklam caja reklam kişisel website caja reklam

    Jane Doe, Phoenix, AZ"

    4-I tried different encoding in masterpage heading and in aspnet controls for page itself.

    thanks for your interest.

  • Re: site' s pages act differently to show turkish characters

    07-11-2008, 2:31 AM
    • Member
      4 point Member
    • numangoceri
    • Member since 07-11-2008, 6:25 AM
    • Posts 2

    I also have a similiar problem. I've made up a web application using by VS 2008 and c# code. In the site, there are a login and an edit etc. options.

    When user select a person from the gridview to edit it, I take it from the gridview to the textboxes above(name, surname etc infos).

    But the problem is that, the values from the gridview sending to the textboxes correctly except the characters only "ü" and "ö".

    Instead of "ü" it writes "&#252;"

    and instead of "ö" it writes "&#246;"

    But there is not any problem with the other turkish characters like ı,ş,ç etc.

    I'm waiting for your help...

  • Re: site' s pages act differently to show turkish characters

    03-31-2009, 10:30 AM
    • Participant
      834 point Participant
    • abinashpatra
    • Member since 02-23-2009, 2:06 AM
    • Bangalore
    • Posts 243

    Hi All,

    I have a typical problem with the Turkish Language Issue. We are giving support to Turkish Language in our applicaton and it is giving some problem. Am giving you one scenario.

     cboSampleCondition.DataSource  = dsSampleLookupValues.Tables[1];
    cboSampleCondition.DataTextField = dsSampleLookupValues.Tables[1].Columns["LANGUAGETERMDESC"].ToString();
    cboSampleCondition.DataValueField =     dsSampleLookupValues.Tables[1].Columns["ACTIONSTATUSID"].ToString();
    cboSampleCondition.DataBind();

    This code binds a datatable to the drop down list.

    This code worke perfectly all right for Languages like Portugese,Chinese, Thai etc. But when I change te language to Turkish (tr-TR is the culture), I get the error in the below line.
    cboSampleCondition.DataValueField =     dsSampleLookupValues.Tables[1].Columns["ACTIONSTATUSID"].ToString();


    Actually the the column name that's returned from Stored Procedure is "ActionStatusId", but while Checking I am checking as "ACTIONSTATUSID" (All CAPs letters). And it does not search and throws null reference exception.
    After much debugging I found that the set of characters "IO" are giving problem. I made it to "io" small case and it was working. Similar scenarion with
    cboComponentType.DataValueField = dsSampleLookupValues.Tables[4].Columns["EQUIPMENTTYPEID"].ToString();
    Here I found "IP" is creating problem and I made it to "ip" it sr=tarted working.

    But I don't think that can be the solution I can give. Because this code will be present in hundreds of pages in our application. There are some other scenarios as well which can create problem like: String Comparison.

    Any body has encountered this kind of issue? Is there any application level solution to this?

     

    This is very very urgent issue and any help in this regard is highly appreciated.

    Best Regards,
    Abinash Patra

    Please mark the post as answer, if you find this useful.

Page 1 of 1 (11 items)