Skip to content

Commit

Permalink
Fixes Multibyte-issues
Browse files Browse the repository at this point in the history
Thsi commit finally adds a russion hyphenation pattern
  • Loading branch information
heiglandreas committed Nov 30, 2015
1 parent bb2d6c6 commit 83f4ebd
Show file tree
Hide file tree
Showing 2 changed files with 3,876 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Org/Heigl/Hyphenator/Dictionary/Dictionary.php
Expand Up @@ -154,13 +154,13 @@ public static function parseFile($locale)
continue;
}
// Remove all Upper-case items as they are OOo-specific
if ( $item === strtoupper($item) ) {
if ($item === mb_strtoupper($item) ) {
continue;
}
// Ignore lines containing an '=' sign as these are specific
// instructions for non-standard-hyphenations. These will be
// implemented later.
if ( false !== strpos($item, '=') ) {
if ( false !== mb_strpos($item, '=') ) {
continue;
}
$item = mb_convert_Encoding($item, 'UTF-8', $source);
Expand Down

0 comments on commit 83f4ebd

Please sign in to comment.