hi sorry for my English , I have a problem with Umbraco 7 and Russian
Umbraco saves PROPERLY fields in Russian (Cyrillic ) , and in the backend returns PROPERLY Russian .. in mvc render the page instead replaced with question marks why ?
I imported a font with Russian Coogle
<link href = ' http : //fonts.googleapis.com/css ? family = Philosopher & subset = latin , cyrillic ' rel = ' stylesheet ' type = ' text / css ' >
but nothing can anyone help me
Can you post a screendump of what it looks like? I suspect you need to save the template using UTF-8 BOM encoding - Also make sure to set <meta charset="UTF-8">
in the <head> section of your HTML.
I changed encoding in mysql , added in umbracoSettings , all backend works ( excluding tiny) ... suspect is mcv script .. if I write the string directly into the code works hrml I'm going crazy thank you
Nope, that's not the character encoding in which the document is saved :) That's the one you tell the browser to use.
Using Visual Studio or Sublime text you should be able to choose an option called "Save as...with character" encoding". That should give you a list of options to try out. I think that UTF-8 with BOM is called something else in Visual studio though...but if you're using sublime text that's what it's called.
Also...if you test the font at google fonts it's displaying correctly there, right? Just want to make sure it's not due to misconfiguration in that end.
if I use google fonts and write in the master displays PROPERLY I opened with Visual studio express the master page file it's unicode utf - 8 tab code 65001 I'm looking for the opportunity to verify the save with UTF - 8 with BOM ,
I give a problem encodig frontend when returns the string if i use @ CurrentPage.umbHeadline returns ?????? - ???? if i use < spam class = "text - white" > Страсть к работе со стеклом - это одна из форм проявления любви ! < / spam > instead returns the correct written
if I use google fonts and write in the master displays PROPERLY I opened with Visual studio express the master page file it's unicode utf - 8 tab code 65001 I'm looking for the opportunity to verify the save with UTF - 8 with BOM ,
I give a problem encodig frontend when returns the string if i use @ CurrentPage.umbHeadline returns ?????? - ???? if i use < spam class = "text - white" > Страсть к работе со стеклом - это одна из форм проявления любви ! < / spam > instead returns the correct written
problem with Umbraco 7 and Russian
Hi Alessio
Can you post a screendump of what it looks like? I suspect you need to save the template using UTF-8 BOM encoding - Also make sure to set
<meta charset="UTF-8">
in the<head>
section of your HTML./Jan
in master
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
I changed encoding in mysql , added in umbracoSettings , all backend works ( excluding tiny) ... suspect is mcv script .. if I write the string directly into the code works hrml I'm going crazy thank you
Hi Alessio
What character encoding is the master template saved in? Is it UTF-8 or UTF-8 BOM ?
/Jan
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Hi Alessio
Nope, that's not the character encoding in which the document is saved :) That's the one you tell the browser to use.
Using Visual Studio or Sublime text you should be able to choose an option called "Save as...with character" encoding". That should give you a list of options to try out. I think that UTF-8 with BOM is called something else in Visual studio though...but if you're using sublime text that's what it's called.
Also...if you test the font at google fonts it's displaying correctly there, right? Just want to make sure it's not due to misconfiguration in that end.
/Jan
I checked everything
the backend works and reads and saves in Russian
db saves data in Russian
if I write in the page view
@ {
Layout = " Master.cshtml " ;
var foo = " phrase in Russian " ;
}
in backand PROPERLY writes in Russian
if I post
@ CurrentPage.umbHeadline
writes question marks
any suggestions?
Umbraco 7.1.9 - mysql
is working on a reply...