Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-4731 now.

convert - Unknown encoding: iso-8859-8 (fix completed in vcs)

when i convert form phpBB2.X in Hebrew with iso-8859-8-i encoding to phpBB3.RC2cvs there is en error:

Unknown encoding: iso-8859-8


this is in the phpBB 3.0.RC2cvs

in the file: includes/utf/utf_tools.php you added the lines:
Code: Select all
   // convert iso-8859-8-i to iso-8859-8
   else if ($encoding == 'iso-8859-8-i')
   {
      $encoding = 'iso-8859-8';
      $string = hebrev($string);
   }

but nothing is done with the iso-8859-8 encoding after that.

Comments / History

Posted by Kellanved (Former Team Member) on Jun 1st 2007, 13:00

The iconv extension is supposed to deal with iso-8859-8; at the moment iconv is required, sorry.

Assigned ticket to user "DavidMJ"

Action performed by Kellanved (Former Team Member) on Jun 1st 2007, 21:50

Changed ticket status from "New" to "Fix completed in CVS"

Action performed by DavidMJ (Former Team Member) on Jun 1st 2007, 23:10

Linked ticket with changeset: r7703

Action performed by DavidMJ (Former Team Member) on Jun 1st 2007, 23:10

Posted by alteron (Translator) on Jun 2nd 2007, 17:43

Why is that?
Is there no way to work with the "iso-8859-8-i" encoding in the convert?

I found that if i change the encoding in phpBB2.X main lang file to "windows-1255" it is working fine.
So i recommend you to try change the code in the includes/utf/utf_tools.php file to something like:

Code: Select all
   // convert iso-8859-8-i to windows-1255
   else if ($encoding == 'iso-8859-8-i')
   {
      $encoding = 'windows-1255';
      $string = hebrev($string);
   }


ron alter,
phpbb.co.il

Posted by DavidMJ (Former Team Member) on Jun 2nd 2007, 17:54

I marked the bug as fixed, that means it is fixed! We include a iso-8859-8 encoder

Ticket details

Related SVN changesets