Page MenuHomePhabricator

Remove UTF8 BMP unit test and replace it with a general UTF8 test
ClosedPublic

Authored by epriestley on Oct 2 2014, 3:31 PM.
Tags
None
Referenced Files
F18777186: D10621.id25501.diff
Sat, Oct 11, 1:16 AM
F18741694: D10621.id25515.diff
Thu, Oct 2, 3:14 PM
F18702279: D10621.diff
Sat, Sep 27, 11:32 PM
F18620181: D10621.diff
Sep 15 2025, 4:27 AM
F18432476: D10621.id.diff
Aug 31 2025, 6:42 AM
F18413768: D10621.diff
Aug 30 2025, 7:55 AM
F17967882: D10621.id25501.diff
Aug 1 2025, 12:44 PM
F17946962: D10621.id25515.diff
Jul 31 2025, 3:33 PM
Subscribers

Details

Summary

Ref T1191. After utf8mb4 conversion, these tests no longer pass because MySQL allows emoji and gclefs and such.

We could keep these tests running by keeping a ut8f_bin table around somewhere, but we have no other use cases for it and it does not seem worth the added complexity. All these BMP-only codepaths are on the way out.

Update the %s / %B test to make sure it's rejecting invalid byte sequences, which are still not permitted.

Test Plan

Tests now pass.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Remove UTF8 BMP unit test and replace it with a general UTF8 test.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Oct 2 2014, 4:38 PM
This revision was automatically updated to reflect the committed changes.