Commit Graph

100 Commits

Author SHA1 Message Date
Markus Scherer
fa2ddc86c7 ICU-13311 change illegal-UTF-8 handling in converter code
X-SVN-Rev: 40455
2017-09-23 06:34:53 +00:00
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Michael Ow
04b5b54998 ICU-11869 Update 2022 code in ICU4C
X-SVN-Rev: 38014
2015-09-23 20:49:25 +00:00
Michael Ow
784e59b2ae ICU-11869 Update jis8 test for edge case
X-SVN-Rev: 37907
2015-09-08 22:37:30 +00:00
Markus Scherer
dba8bad06b ICU-9602 tell ICU4J to ignore conversion test data for good one-way mappings
X-SVN-Rev: 33249
2013-02-16 00:16:09 +00:00
Markus Scherer
2e71f86e17 ICU-9602 conversion: add good one-way mapping type |4
X-SVN-Rev: 33173
2013-02-11 20:48:11 +00:00
Michael Ow
5794bfbf66 ICU-9673 Update EUC-JP mapping to use updated table
X-SVN-Rev: 33039
2013-01-11 19:47:40 +00:00
Markus Scherer
a2eca4547b ICU-9601 from-UTF-8 m:n conversion: properly revert to pivoting for m:n matching
X-SVN-Rev: 32529
2012-10-05 20:12:49 +00:00
Peter Edberg
53941f359b ICU-9235 getToUnicodeValue() should write extension seq length as count of UTF16 (not UTF32) units
X-SVN-Rev: 31954
2012-06-14 22:19:36 +00:00
Michael Ow
4fc83fb80c ICU-9085 Fix infinite loop error in compound text converter in ICU4C
X-SVN-Rev: 31298
2012-02-01 23:45:54 +00:00
Michael Ow
96a2328093 ICU-8569 Terminate the UTF-7 byte buffer with MINUS when flushing
X-SVN-Rev: 30175
2011-06-01 16:25:22 +00:00
Michael Ow
c1537677f8 ICU-8427 Use the needed version of gb18030 and update test data
X-SVN-Rev: 29863
2011-04-22 23:58:47 +00:00
Michael Ow
91c044bb32 ICU-8274 Udpate gdb18030 code page and add testcase in ICU4C
X-SVN-Rev: 29303
2011-01-14 17:46:13 +00:00
Michael Ow
dd03794570 ICU-7959 Add compound text converter to ICU4C.
X-SVN-Rev: 29211
2010-12-15 23:38:28 +00:00
Michael Ow
5dac211295 ICU-8038 Re-enable UnicodeBig and UnicodeLittle tests.
X-SVN-Rev: 28817
2010-10-13 20:18:49 +00:00
Michael Ow
dda7ae77c6 ICU-7926 Add ISO-2022-CN-CNS to ICU4C.
X-SVN-Rev: 28587
2010-09-08 23:18:15 +00:00
Markus Scherer
5ab64ef670 ICU-7704 add converter compatible with Java UTF-16: always writes big-endian regardless of platform
X-SVN-Rev: 28089
2010-05-23 05:02:54 +00:00
Michael Ow
c126788bab ICU-7592 Update the conversion data driven test cases and test code to handle new configuration for skipping test in ICU4J.
X-SVN-Rev: 28029
2010-05-06 19:05:52 +00:00
Markus Scherer
7c524feb82 ICU-7314 remove support for CNS 11643 planes 3..7 (ISO-2022-CN-EXT)
X-SVN-Rev: 27295
2010-01-16 06:37:14 +00:00
Michael Ow
5c1ddc6006 ICU-6955 Add test case for illegal SI/SO source.
X-SVN-Rev: 26198
2009-06-29 19:50:35 +00:00
Michael Ow
23b175e17f ICU-6955 Add more test case for various mbcs situations.
X-SVN-Rev: 26195
2009-06-29 17:38:15 +00:00
Michael Ow
737d833448 ICU-6955 Fix potential error in mbcs and add more code coverage test cases.
X-SVN-Rev: 26194
2009-06-29 03:57:23 +00:00
Michael Ow
ad93f8cd75 ICU-6955 Update test converter and add test cases.
X-SVN-Rev: 26170
2009-06-25 16:01:31 +00:00
Michael Ow
4b5bf7300d ICU-6955 Fix TestConversion test in ICU4J to increment target only if there is an overflow. add more code coverage test case for MBCS.
X-SVN-Rev: 26161
2009-06-24 23:01:17 +00:00
Michael Ow
9e39b57bf1 ICU-6955 Update charset test for better code coverage for MBCS.
X-SVN-Rev: 26156
2009-06-24 18:54:36 +00:00
Michael Ow
771dda07f2 ICU-6955 Add new test code page and test cases.
X-SVN-Rev: 26148
2009-06-23 21:15:32 +00:00
Michael Ow
9dcb89e824 ICU-6955 Remove duplicate code in CharsetMBCS add test case for SCSU.
X-SVN-Rev: 26139
2009-06-22 19:37:57 +00:00
Michael Ow
905834ecca ICU-6955 Fix CharsetSCSU error and add test case.
X-SVN-Rev: 26137
2009-06-21 18:46:42 +00:00
Michael Ow
283c484852 ICU-6955 Update code coverage test for SCSU and BOCU.
X-SVN-Rev: 26136
2009-06-21 06:55:31 +00:00
Michael Ow
1be173845b ICU-6955 Improve code coverage for charset SCSU. Fix some errors in CharsetSCSU.
X-SVN-Rev: 26133
2009-06-19 19:20:55 +00:00
Michael Ow
685da47d1a ICU-6955 Fix BOCU-1 logical errors and add test case.
X-SVN-Rev: 26128
2009-06-17 22:11:57 +00:00
Michael Ow
c7db033e9f ICU-6955 Update BOCU-1 data driven conversion test.
X-SVN-Rev: 26105
2009-06-15 21:28:03 +00:00
Michael Ow
421a82ef41 ICU-6955 Add code coverage test case for BOCU-1 in data driven test.
X-SVN-Rev: 26104
2009-06-15 19:46:54 +00:00
Markus Scherer
5c3b41f836 ICU-6789 implement Java-compatible Unicode, UnicodeBig and UnicodeLittle converters
X-SVN-Rev: 25714
2009-04-01 19:31:33 +00:00
Markus Scherer
92488b771d ICU-5691 fix comments/order in conversion.txt
X-SVN-Rev: 24825
2008-10-16 00:32:27 +00:00
Markus Scherer
add67e15d5 ICU-5691 fix 2022 & HZ to really include the offending trail byte exactly if it is not a starter
X-SVN-Rev: 24824
2008-10-16 00:24:42 +00:00
Markus Scherer
c801506d5d ICU-5691 stop illegal HZ tilde sequences before the first byte that could start a new character
X-SVN-Rev: 24773
2008-10-10 16:30:28 +00:00
Markus Scherer
b6b3273af0 ICU-5691 stop illegal ISO-2022 escape/shift sequences before the first byte that could start a new character
X-SVN-Rev: 24769
2008-10-10 06:00:27 +00:00
Markus Scherer
acd74a93d1 ICU-5691 stop illegal sequences before the first byte that could start a new character; in MBCS, DBCS, ISO-2022, HZ; also make ISO-2022-KR strictly check for validity
X-SVN-Rev: 24733
2008-10-07 04:33:51 +00:00
Michael Ow
b3f5e6cf8a ICU-6347 Port LMBCS converter from ICU4C to ICU4J. Add data driven test for LMBCS. Add null pointer check in CharsetMBCS method. Update exemption list in TestSurrogateBehaviour.
X-SVN-Rev: 24410
2008-07-25 19:09:29 +00:00
Michael Ow
3cae30da4c ICU-5855 Change the data-driven charset test from iscii to iscii-dev to enable support for this test in ICU4J.
X-SVN-Rev: 24376
2008-07-11 17:10:18 +00:00
Michael Ow
0909ccea4d ICU-6365 Only write the language code after a linefeed if there are more characters after the linefeed. Update data driven test to check for this.
X-SVN-Rev: 24344
2008-07-03 15:27:12 +00:00
Michael Ow
211918b3cf ICU-6259 Implement Unicode Technical Note 30 concerning proper Gurmukhi conversion for Bindi and Tippi, Consonant Clusters, and Gurmukhi Rra. The change has been implemented in both ICU4C and ICU4J and data driven test have been included. Changing other test data for iscii-gur was also done to comply with this technical note.
X-SVN-Rev: 24326
2008-07-01 17:52:51 +00:00
Michael Ow
9ef387262f ICU-6358 Convert ISO-2022-JP 2 byte code point to GR94DBCS when decoding if neccessary. Add data driven test this fix.
X-SVN-Rev: 24245
2008-06-19 22:13:34 +00:00
Michael Ow
a66223e29f ICU-6266 Improve the code coverage for Charset ASCII and UTF-7.
X-SVN-Rev: 23884
2008-05-13 13:39:37 +00:00
Michael Ow
a20697ab70 ICU-6266 Improve ISO-2022 code coverage with error simulating data driven tests and over flow buffer tests.
X-SVN-Rev: 23883
2008-05-12 22:33:00 +00:00
Michael Ow
1597eb0479 ICU-6266 Add to data driven test to improve code coverage.
X-SVN-Rev: 23877
2008-05-08 21:33:49 +00:00
Peter Edberg
d4774599b6 ICU-6175 Test detecting empty segments in ISO-2022-x & HZ with UConverterCallbackReason==UCNV_IRREGULAR
X-SVN-Rev: 23572
2008-03-12 23:22:07 +00:00