Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • urmila 18 posts 88 karma points
    May 07, 2013 @ 08:42
    urmila
    0

    Danish charactors are not supported

    Hi all

    I am developing site in danish language but instead of some of the letters ? is  displayed.for eg.

    Hoved trklde st

    I am using this DTD

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
    <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <link href="../css/style.css" rel="stylesheet" type="text/css" />
    </head>

    I have also tried using transitional DTD and in my umbracosettings.config i have TidyCharEncoding as UTF-8.I am using umbraco 6.0

    Thanks Urmila

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    May 07, 2013 @ 22:25
    Jan Skovgaard
    0

    Hi Urmila

    Is the editor you're using also saving the documents in the correct utf-8 format?

    /Jan

  • urmila 18 posts 88 karma points
    May 08, 2013 @ 05:43
    urmila
    0

    Hi Jan

    Thank you for the quick response.I have added dictionary items for some of the fields,so i dont know if the editor provied for dictionary items support UTF-8 format.Also i am using rich text editor for localization of some of the fields in ucommerce and those fields are displayed correctly for danish as well as german language but where  i used longtext datatype for some of the fields those are also not displayed correctly.

    Thanks Urmila.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    May 08, 2013 @ 21:42
    Jan Skovgaard
    0

    Hi Urmila

    Ok, so this is perhaps an issue related to uCommerce if I understand the above description correct?

    /Jan

  • urmila 18 posts 88 karma points
    May 09, 2013 @ 13:05
    urmila
    0

    Hi Jan

    I guess it's not ucommerce issue because i have added dictionary items in umbraco also and those are not displayed correctly.I don't know if the editor provided for dictionary items allow character encoding.

    Thanks Urmila

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    May 09, 2013 @ 16:01
    Jan Skovgaard
    100

    Hi urmila

    Dictionary items should not be a problem. Don't know if your database schema is perhaps running on another charset than UTF-8 perhaps?

    Otherwise try opening your templates in an editor such as visual studio or sublime text and try to choose "save as" and then there should be a place where it says something like "with encoding"...make sure it's utf-8.

    Hope this makes sense.

    /Jan

  • urmila 18 posts 88 karma points
    May 28, 2013 @ 05:39
    urmila
    0

    Hi Jan

    Sorry for the late replay.You were right some of my database scripts were not in UTF-8 format,so saving them again with UTF-8 format solved the problem

    Thank you

    Urmila

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    May 28, 2013 @ 13:33
    Jan Skovgaard
    0

    Hi Urmila

    Glad you got it solved - it's such an annoying issue and it can really cause some head-scratching! :)

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft