Copied to clipboard

Flag this post as spam?

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


  • Alessio Rosin 14 posts 71 karma points
    Apr 09, 2015 @ 13:21
    Alessio Rosin
    0

    umbraco7 and russian

    I checked everything
    the backend works and reads and saves in Russian ( field , link and Tinymce3)
    the backend works and reads and saves in Russian
    db ( mysql )  saves data in Russian

    if I write in the page view
    @ {
        Layout = " Master.cshtml " ;
    var texttest = " phrase in Russian " ;
    }

    in backand PROPERLY writes in Russian

    if I write in pageview
    @ CurrentPage.umbHeadline

    writes question marks

    any suggestions?

    Umbraco 7.1.9 - mysql

  • Chriztian Steinmeier 2800 posts 8791 karma points MVP 8x admin c-trib
    Apr 09, 2015 @ 13:34
    Chriztian Steinmeier
    0

    Hi Alesso,

    First thing to check is of course if the frontend's encoding is set correct (UTF-8, I presume). Next test would be to make sure that it's not a webfont issue - many webfont services exclude "special glyphs" (special for americans, that is - everyday characters for other people :-)

    That said, I've had problems with masterpages being saved with the wrong encoding - which I could only solve by editing the template locally with an editor that can save in a specific encoding, telling it to save in UTF-8 AND to include the BOM (Byte-Order Mark). Then copy/upload/FTP the file...

    /Chriztian

  • Alessio Rosin 14 posts 71 karma points
    Apr 09, 2015 @ 13:41
    Alessio Rosin
    0

    the masterpage it's save in utf8 bom , and the webfont have a cyrilc

    if I write in the page view
    @ {
        Layout = " Master.cshtml " ;
    var texttest = " text in  Russian " ;
    }

    @texttest

     

    it's write in russian

    if I write in pageview
    @ CurrentPage.umbHeadline

    writes question marks it's a mystary

    same issue in cache file app.data/umbraco.config

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies