Skip to content

Commit

Permalink
Update README.md With Multi-Byte String Details
Browse files Browse the repository at this point in the history
Consider adding some details about multi-byte string support in Twine to README.md.
  • Loading branch information
Ben Roberts authored Sep 2, 2020
1 parent f4699d8 commit ee4ddaf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,11 @@ $string->base64()->wrap(76, "\r\n", Twine\Config\Wrap::HARD);

Additional details available in the full documentation at <https://twine.phlak.net>.

Multi-Byte Strings
---------

Twine aims for multi-byte string compatibility by relying on PHP's [Multibyte String extension](https://www.php.net/manual/en/book.mbstring.php) (mbstring) to perform string operations. For this reason, the mbstring extension is required. Multi-byte strings include Unicode encodings such as UTF-8 and UCS-2.

Changelog
---------

Expand Down

0 comments on commit ee4ddaf

Please sign in to comment.