Created
September 11, 2018 23:25
-
-
Save cjac/c1ea8ceb16f0e8cdfb4ef2008760b7f7 to your computer and use it in GitHub Desktop.
utf8 db round trip tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with 'use utf8;' pragma: | |
not ok 3 - lightly mixed utf8 string [läbel] round trips correctly | |
# Failed test 'lightly mixed utf8 string [läbel] round trips correctly' | |
# at t/web/dev-7476.t line 139. | |
# got: 'l�bel' | |
# expected: 'läbel' | |
# $VAR1 = { | |
# 'got' => "l\x{e4}bel", | |
# 'expected' => 'läbel' | |
# }; | |
ok 4 - heavily mixed utf8 string [siʔaɫ] round trips correctly # TODO database round trip for heavily mixed utf8 data | |
ok 5 - utf8 string [देवनागरी] round trips correctly # TODO database round trip for heavily mixed utf8 data | |
without 'use utf8;' pragma: | |
ok 3 - lightly mixed utf8 string [l�bel] round trips correctly | |
not ok 4 - heavily mixed utf8 string [siʔaɫ] round trips correctly # TODO database round trip for heavily mixed utf8 data | |
# Failed (TODO) test 'heavily mixed utf8 string [siʔaɫ] round trips correctly' | |
# at t/web/dev-7476.t line 152. | |
# got: 'siÊaÉ«' | |
# expected: 'siʔaɫ' | |
# $VAR1 = { | |
# 'got' => "si\x{ca}\x{94}a\x{c9}\x{ab}", | |
# 'expected' => "si\x{294}a\x{26b}" | |
# }; | |
not ok 5 - utf8 string [देवनागरी] round trips correctly # TODO database round trip for heavily mixed utf8 data | |
# Failed (TODO) test 'utf8 string [देवनागरी] round trips correctly' | |
# at t/web/dev-7476.t line 161. | |
# got: 'दà¥à¤µà¤¨à¤¾à¤à¤°à¥' | |
# expected: 'देवनागरी' | |
# $VAR1 = { | |
# 'got' => "\x{e0}\x{a4}\x{a6}\x{e0}\x{a5}\x{87}\x{e0}\x{a4}\x{b5}\x{e0}\x{a4}\x{a8}\x{e0}\x{a4}\x{be}\x{e0}\x{a4}\x{97}\x{e0}\x{a4}\x{b0}\x{e0}\x{a5}\x{80}", | |
# 'expected' => "\x{926}\x{947}\x{935}\x{928}\x{93e}\x{917}\x{930}\x{940}" | |
# }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment