Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-6838

utf_normalizer messed the UTF8 messages/PMs - Hungarian

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 3.0.0
    • Posting
    • None
    • PHP Environment: 5.2.5-pl1-gento
      Database: MySQL(i) 5.0.44-log

      Hi,

      I use full utf-8 system (database, browser etc.) and I have a problem with the phpBB3 since RC7, including the latest stable version.

      The problem shown on the attachments, the expexcted result also attached.
      I enabled the debug directives for phpBB (config.php) and based on 'fberci' from the Hungarian forum (http://phpbb.hu/forum/hsz/26621), I wrote a mentioned 'debug' code.
      The output of that are shown on the attached pictures.

      The code itself went into the posting.php, right after this code:

      // Start session management
      $user->session_begin();
      $auth->acl($user->data);

      print (isset($_POST['message'])) ? '<pre>' . $_POST['message'] . "\n\n" . request_var('message', '', true) . "\n\n" . utf8_normalize_nfc(request_var('message', '', true)) . '</pre>' : '';

      Any hints are welcome.
      You can see it with your own eyes and you can try the problematic installation at http://www.osbusiness.hu/phpBB

      Thank you, István

            naderman Nils Adermann
            pongraczi pongraczi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: