Note: mb_strwidth is NOT returning bytes. It's returning the width of monotype characters. (In some languages, some characters will take up 2 character widths if displayed in monotype.)
![]() |
|
||||||||||
|
mb_strwidthDescriptionint mb_strwidth ( string str [, string encoding] )
mb_strwidth() returns width of string
Multi-byte character usually twice of width compare to single byte character.
Таблица 1. Characters width
See also: mb_strimwidth(), mb_internal_encoding(). mb_strwidth
Anonymous
31-Oct-2007 05:27
Note: mb_strwidth is NOT returning bytes. It's returning the width of monotype characters. (In some languages, some characters will take up 2 character widths if displayed in monotype.)
|