Topic: Encoding - languages

0 Members and 1 Guest are viewing this topic.

January 19, 2012, 01:48 AM

Offline Kaderas

  • Newbie
  • *
  • Posts: 4
  • 'corePHP' - Unlock your Full Potential!
    • View Profile
Hello,

I installed droomla and so far everything works ok. The only and main problem is with encoding. I uploaded the Droomla Czech language. In the administration of Drupal everything appears ok, but in the frontend I can not display the Central European characters (screenshot). I make web pages in Czech language.
In the database (MySQL), the characters appear correctly, but Joomla is betrayal. The problem is somewhere in the encoding settings.

Screenshot
http://www.joomlaportal.cz/media/kunena/attachments/20977/encoding.jpg

thank you
regards
Tomas

January 19, 2012, 05:37 AM

Offline Andy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1,739
    • View Profile
Tomas,

If you create a ticket using the link in my signature, I can look into the issue for you.

Kindest regards,

Andy Poorman - Support Manager / Developer
http://www.corephp.com'corePHP' - Accessibility Experts

— Professional Support: Support Tickets

January 19, 2012, 05:58 AM

Offline Kaderas

  • Newbie
  • *
  • Posts: 4
  • 'corePHP' - Unlock your Full Potential!
    • View Profile
Thank you! I sent yesterday ticket - YID-731259.

January 26, 2012, 06:43 AM

Offline Andy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1,739
    • View Profile
This was solved by adding this code to the file components/com_droomla/views/droomla/view.html.php:
Code: [Select]
$item->introtext=iconv("UTF-8","ISO-8859-1", $item->introtext);after this line on line 554:
Code: [Select]
$item->introtext = $node->content . Drupal::convert_links( $node->links, 'droomla', $droomla_params->get( 'itemid', 1 ) );
This code forces encoding for the Czech character set.

Andy Poorman - Support Manager / Developer
http://www.corephp.com'corePHP' - Accessibility Experts

— Professional Support: Support Tickets

January 30, 2012, 11:25 PM

Offline Kaderas

  • Newbie
  • *
  • Posts: 4
  • 'corePHP' - Unlock your Full Potential!
    • View Profile
Hello,

Thank you, unfortunately, the characters appear only on the homepage. When I open article, or want to edit from the frontend, the characters disappear. Sending screenshots.

Screenshot -  http://ivalmez.cz/skola.jpg

thank you
regards
Tomas Peroutka

January 31, 2012, 09:18 AM

Offline Andy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1,739
    • View Profile
Please reply to the ticket that was created for this issue.

Kindest regards,

Andy Poorman - Support Manager / Developer
http://www.corephp.com'corePHP' - Accessibility Experts

— Professional Support: Support Tickets

January 31, 2012, 10:56 AM

Offline Kaderas

  • Newbie
  • *
  • Posts: 4
  • 'corePHP' - Unlock your Full Potential!
    • View Profile
I did it at Jan 27 2012 08:39 AM, YID-731259.

Thank you
Regards
Tomas Peroutka