Ref T1191. Test that MySQL's rules match those of phutil_is_utf8_with_only_bmp_characters():
- Build a string with every character that we consider to be a BMP character.
- Write it into MySQL.
- Read it back out.
- Make sure MySQL didn't truncate it.
Differential D8314
Add test coverage that our definition of BMP agrees with MySQL epriestley on Feb 23 2014, 8:38 PM. Authored by Tags None Referenced Files
Details
Ref T1191. Test that MySQL's rules match those of phutil_is_utf8_with_only_bmp_characters():
Ran unit test. This test runs pretty quickly (50ms), the string with every character isn't all that enormous.
Diff Detail
Event Timeline |