1
Porscher
Problem with entities in the title of a page
  • 2006/11/17 22:44

  • Porscher

  • Just popping in

  • Posts: 5

  • Since: 2006/5/19


I wanted to have a word with the Czech character ř, that's ř, in the heading for my site. I write it in the appropriate box in general settings, it automatically converts it to ř and in MySQL it's also stored like that, but when the page loads, & is substituted by & in the sourcecode and therefore ř isn't evaluated right, but it ends up being ř as text. (& is printed out instead of &, but of course & doesn't make it in time to be used to start the entity.)

If anybody could help I'd be sure grateful!

P.S. Probably if I changed the encoding in MySQL and wrote ř directly there it would work, but people would have to use that encoding as well and people don't tend to use ISO-8859-2 or Windows-1250 as default.

2
geronimo_nd
Re: Problem with entities in the title of a page

I have the same problem on the site.

3
ghia
Re: Problem with entities in the title of a page
  • 2010/9/5 0:07

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Is it related to this?

4
ccrstudioweb
Re: Problem with entities in the title of a page

If the table mysql is saving it right, the problem is when reading it.
Have you tried to change in theme.html from

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />

to


<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

5
geronimo_nd
Re: Problem with entities in the title of a page

No it not solves the problem i just put the char from the mz admin (that read it wright) and i was give the output from xoops like this:

KorisniÄŤki Meni.

And it should look like this:

Korisnički Meni

here it works fine though

6
bjuti
Re: Problem with entities in the title of a page
  • 2010/9/27 18:47

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Contact me on Skype to reslove this. Maybe your database isn't UTF-8?

Login

Who's Online

52 user(s) are online (37 user(s) are browsing Support Forums)


Members: 0


Guests: 52


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits