Skip to content

Commit

Permalink
Merge pull request #2292 from MitrahSoft/LDEV-4648_
Browse files Browse the repository at this point in the history
Test case for non UTF-8 characters in LDEV-4648 ticket.
  • Loading branch information
zspitzer authored Feb 1, 2024
2 parents 8f78e64 + 11fc653 commit b06c3f2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/tickets/LDEV4648.cfc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
component extends="org.lucee.cfml.test.LuceeTestCase" skip=true {
function run( testResults , testBox ) {
describe( title="Test case for non UTF-8 characters in LDEV-4648", body=function() {
it(title="checking URLDecode() function", body = function( currentSpec ) {
expect( Chr(23376) ).toBe( URLDecode('%8e%71', 'windows-31j') );
expect( Chr(23376) ).toBe( URLDecode('%8eq', 'windows-31j') );
expect( Chr(23376) ).toBe( URLDecode('%8e%71', 'Shift_JIS') );
expect( Chr(23376) ).toBe( URLDecode('%8eq', 'Shift_JIS') );
});
});
}
}

0 comments on commit b06c3f2

Please sign in to comment.