You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The manual page for wordwrap() at https://php.net/function.wordwrap says that the function "wraps a string to a given number of characters" but does not explicitly mention that it supports only ASCII characters.
The text was updated successfully, but these errors were encountered:
Like the other string functions, it doesn't do "ASCII" or any other text encoding.
As the manual says when it introduces the string type:
A string is a series of characters, where a character is the same as a byte. This means that PHP only supports a 256-character set, and hence does not offer native Unicode support.
(Note ASCII is only a 128-character set.)
The manual page for
wordwrap()
at https://php.net/function.wordwrap says that the function "wraps a string to a given number of characters" but does not explicitly mention that it supports only ASCII characters.The text was updated successfully, but these errors were encountered: