0
Welcome Guest! Login
0 items Join Now

UTF-8 encoding

    • MaTjAzz's Avatar
    • MaTjAzz
    • Jr. Rocketeer
    • Posts: 29
    • Thanks: 0

    UTF-8 encoding

    Posted 18 years 4 months ago
    • Hy!

      I have huge problems with Joomla encoding. When I switched from htaccess to .htaccess I lost proper encoding of my content.

      I put it back as it was and still won't work.

      In browser is set to UTF-8
      This line is uncomment //@mysql_query("SET NAMES 'utf8'", $this->_resource); // THIS IS THE LINE TO UNCOMMENT
      Template is utf-8
      I try to switched all tables to utf-8 and is the same result...

      The problem is only in content. On modules etc is OK.

      I need to get those two letters: č and ž

      Any idea? Please help...
    • www.euworld.net
  • Re: UTF-8 encoding

    Posted 18 years 4 months ago
    • I guess you have read this? -> forum.joomla.org/index.php?topic=55065.0

      Also check your joomla/language/yourlanguage.php
      > Open the file, change the charset, so the line reads
      DEFINE('_ISO','charset=utf-8');
      This file should be then saved as utf-8 without BOM

      Your SMF is also UTF-8, and the database too?
      Under SMF 1.1. Final there is a new choice - Admin>Forum maintenance>Convert to UTF-8
    • MaTjAzz's Avatar
    • MaTjAzz
    • Jr. Rocketeer
    • Posts: 29
    • Thanks: 0

    Re: UTF-8 encoding

    Posted 18 years 4 months ago
    • I have all those settings. I cheked again...

      SMF I thing that is not related to this. I isn't utf-8 and all letters are working OK. Just in Joomla content not :-\
    • www.euworld.net
    • Joomlas's Avatar
    • Joomlas
    • Newbie
    • Posts: 2
    • Thanks: 0

    Re: UTF-8 encoding

    Posted 18 years 4 months ago
    • What is your default language encoding? What editor you use? Have you changed language after content was entered?

      If you are from Ex Yu, you can send me PM and I can help you more. All my sites are UTF-8.

      Pozdrav
    • MaTjAzz's Avatar
    • MaTjAzz
    • Jr. Rocketeer
    • Posts: 29
    • Thanks: 0

    Re: UTF-8 encoding

    Posted 18 years 4 months ago
    • Default encoding is: utf-8
      TyniMCE
      No The content was entered before and I had all right leters. When I switched to SEF and change htaccess.txt to .htaccess this problem began.
    • www.euworld.net
  • Re: UTF-8 encoding

    Posted 18 years 4 months ago
    • Best solution I can think of is a classic. Right after the <head> section of your template's html file put:

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

      Although it doesnt completely fix the problem it at least makes IE and Firefox display the characters correctly.
    • MaTjAzz's Avatar
    • MaTjAzz
    • Jr. Rocketeer
    • Posts: 29
    • Thanks: 0

    Re: UTF-8 encoding

    Posted 18 years 4 months ago
  • Re: UTF-8 encoding

    Posted 18 years 4 months ago
    • First... go to your language file and open english.php. do a search for iso using whatever-- notepad or something and change anything to 'UTF-8' rather than Iso-whatever.

      If that doesnt work then, Ummm... you could try downloading Joomla 1.1 again and ftp'ing all of the files into your base folder again. Any smart FTP program will realize you only want to overwrite files-- not whole folders so your components and modules will still be intact. Then try using MyAdminSQL to clean up your database tables. If all goes well you should hopefully be able to see UTF-8

Time to create page: 0.066 seconds