Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-10329

CJK charsets area definition in ezccodemapper.php

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.10.0alpha1, 3.8.8, 3.9.2
    • 3.8.7, 3.9.1
    • Language
    • None

    Description

      function generateCommandCode and function executeCommandCode define CJK charsets area as follows.

      if ( ( $unicodeValueArray[$valueKey] >= 13312 and
             $unicodeValueArray[$valueKey] <= 40863 ) or
          (  $unicodeValueArray[$valueKey] >= 44032 and
             $unicodeValueArray[$valueKey] <= 55203 ) )
      

      13312 to 40863 is Kanji characters area and 44032 to 55203 Hangeul (Korean indigenous) characters area.

      Japanese indigenous characters like Hiragana, Katakana are mapped 12289 to 12542 on Unicode.

      To process for Japanese correctly, add an area above to the definition.

      Attachments

        Activity

          People

            oms Ole Marius Smestad
            skato skato
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: