More table formatting wonkiness#66
Conversation
|
@szepeviktor any insights into what the root of these character encoding issues are? |
<?php echo mb_strlen("日本語", "UTF-8");
3 |
|
Strange <?php echo mb_detect_encoding("日本語");
UTF-8Line 164 in 0fa663f |
|
Got it. |
|
Please use |
|
And |
Because `safe_strlen()` gives us the string length for output, we need the true length to determine how much we should pad the string
|
Burmese has multiple signs in one position, which is unclear to me. |
|
You can strip out hebrew vowels: http://blog.shaftek.org/2005/06/03/removing-vowels-from-hebrew-unicode-text/ before padding it. More details |
|
What font do you use on your terminal? |
Ugh. Could we do similar detection for Burmese?
Source Code Pro. |
|
Please do not support Burmese language. |
Hebrew writing has two separate accents / vowels under letters. In testing, all fonts properly handle this
It's a deal :) Thanks for your help with this. |
|
|
This is why we're using |
More table formatting wonkiness
In what case should |
|
php -r 'var_export( preg_match_all( "/.{1}/us", "'$(echo -n óra|recode utf8..latin2)'") );' |
|
Ok. I think this is good enough for now. We can revisit later as needed. |

Thar be bugs