File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1398,9 +1398,14 @@ end
1398
1398
str_2 = " αβγ"
1399
1399
# string starting with a 3 byte UTF-8 character
1400
1400
str_3 = " आख"
1401
- @testset for str in (str_1, str_2, str_3)
1401
+ # string starting with a 4 byte UTF-8 character
1402
+ str_4 = " 𒃵𒃰"
1403
+ @testset for str in (str_1, str_2, str_3, str_4)
1404
+ @test transcode (String, str) === str
1402
1405
@test transcode (String, transcode (UInt16, str)) == str
1403
1406
@test transcode (String, transcode (UInt16, transcode (UInt8, str))) == str
1407
+ @test transcode (String, transcode (Int32, transcode (UInt8, str))) == str
1408
+ @test transcode (String, transcode (UInt32, transcode (UInt8, str))) == str
1404
1409
@test transcode (String, transcode (UInt8, transcode (UInt16, str))) == str
1405
1410
end
1406
1411
end
You can’t perform that action at this time.
0 commit comments