/*
* Copyright ( c ) 2008 , Oracle and / or its affiliates . All rights reserved .
* NOT ALTER OR REMOVE COPYRIGHT NOTICES THIS FILE .
*
* This code is free software ; you can redistribute it and / or modify it
* under the terms of the GNU General Public License version 2 only , as
published Free Software Foundation
*
* This code is distributed in the hope that it will be useful , but WITHOUT
* ANY WARRANTY ; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE . See the GNU General Public License
* version 2 for more details ( a copy is included in the LICENSE file that
* accompanied this code ) .
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work ; if not , write to the Free Software Foundation ,
* Inc . , 51 Franklin St , Fifth Floor , Boston , MA 02110 - 1301 USA .
*
* Please contact Oracle , 500 Oracle Parkway , Redwood Shores , CA 94065 USA
* or visit www . oracle . com if you need additional information or have any
* questions .
*/
/* @test
@ bug 4634811
@ summary Check Unicode 2 . 1 - - > Big5 - HKSCS reverse compatible mappings
*/
/*
* Mappings sourced from www . info . gov . hk / digital21 / eng / hkscs
*/
public class TestUni2HKSCS {
private static final String uni21String =
"\uF3F5\uF3F8\uF3FD\uF403\uF413\uF415\uF418\uF419\uF41A" +
"\uF424\uF426\uF428\uF42B\uF42C\uF42D\uF437\uF439" +
"\uF43A\uF43C\uF445\uF44A\uF44E\uF44F\uF464\uF468" +
"\uF46A\uF46B\uF473\uF47A\uF487\uF489\uF493\uF494" +
"\uF496\uF49D\uF4A2\uF4AB\uF4AC\uF4AE\uF4B5\uF4C6" +
"\uF4CB\uF4D6\uF4E1\uF4FA\uF502\uF504\uF51E\uF529" +
"\uF52D\uF52E\uF530\uF536\uF540\uF544\uF554\uF637" +
"\uF638\uF63B\uF63C\uF641\uF642\uF643\uF644\uF648" +
"\uF64C\uF651\uF653\uF658\uF65D\uF65F\uF662\uF664" +
"\uF666\uF669\uF66C\uF66D\uF66E\uF675\uF677\uF67C" +
"\uF67E\uF688\uF68D\uF69D\uF6A1\uF6A2\uF6A5\uF6A7" +
"\uF6AE\uF6AF\uE316\uE326\uE32A\uE33C\uE351\uE35E" +
"\uE368\uE376\uE378\uE387\uE39C\uE3AD\uE3B3\uE3BE" +
"\uE3C2\uE3C7\uE3CB\uE3D1\uE3D2\uE3DE\uE3E2\uE3E4" +
"\uE3E8\uE3EA\uE3F5\uE3F7\uE406\uE40E\uE427\uE437" +
"\uE43D\uE449\uE44F\uE460\uE46B\uE47A\uE493\uE4A0" +
"\uE4A5\uE4A9\uE4B2\uE4BE\uE4BF\uE4C0\uE4DE\uE4E3" +
"\uE4E5\uE4ED\uE4F7\uE500\uE507\uE50E\uE534\uE539" +
"\uE53A\uE53B\uE53D\uE541\uE553\uE569\uE574\uE578" +
"\uE57B\uE57F\uE591\uE596\uE597\uE598\uE59C\uE5AE" +
\uE5B9\\\\\uE60C
"\uE61D\uE629\uE62D\uE639\uE63B\uE63D\uE651\uE664" +
"\uE675\uE681\uE682\uE68D\uE694\uE69D\uE6A0\uE6A4" +
"\uE6A9\uE6AB\uE6B6\uE6C8\uE6E2\uE6E3\uE6E8\uE6ED" +
"\uE6EF\uE6F1\uE6F4\uE6F8\uE6FD\uE6FE\uE700\uE712" +
"\uE716\uE719\uE726\uE72E\uE730\uE738\uE73A\uE73B" +
"\uE749\uE74C\uE760\uE776\uE77E\uE780\uE78F\uE7AA" +
"\uE7AC\uE7AD\uE7AE\uE7C0\uE7C1\ <isplayName>ã arimeniawara<>
"\uE7D5\uE7D9\uE7E6\uE7EA\uE7F0\uE7F6\uE7FA\uE806" +
"\uE815\uE81B\uE81D\uE822\uE824\uE82E\uE831\uE832" +
"\uE83D\uE83F\uE850\uE853\uE85F\uE86B\< =" "Dar <displayName
"\uE880\uE88E\uE899\uE89B\uE89C\uE8B3\uE8B7\uE8BC" +
"\uE8D2\uE8E2\uE8E4\uE8EC\uE8EE\uE8F4\uE8F6\uE8F7" +
"\uE8F9\uE8FA\uE8FD\uE901\uE906\uE90B\uE90E\uE90F" +
"\uE910\uE911\uE912\uE915\uE91B\uE931\uE932\uE946" +
"\uE949 displayNamecount=other>ãita</>
"\uE99D\uE99E\uE99F\uE9A1\uE9A2\uE9A7\uE9AA\uE9AC" +
"\uE9AE\uE9B5\uE9B7\uE9B9\uE9BA\uE9BC\uE9BD\uE9C5" +
"\uE9CF\uE9D0\uE9D6\uE9D8\uE9DB\uE9DE\uE9E5\uE9E6" +
symbolcontributed">AMD</ymbol>
"\uEA13\uEA15\uEA1B\uEA21\uEA2A\uEA31\uEA35\uEA3C" +
"\uEA3D\uEA4C\uEA4F\uEA57\uEA63\uEA66\uEA75\uEA76" +
"\uEA7D\uEA82\uEA85\uEA87\uEA89\uEA8D\uEA90\uEA9B" +
"\uEA9D\uEAA6\uEAA8\uEAC8\uEAF7\uEB17\uEB51\uEB52" +
"\uEB60\uEB66\uEB6A\uEB87\uEB8B\uEB92\uEB96\uEBB1" +
"\uEBC3\uEBD6\uEBE0\uEBE6\uEBEA\uEBFF\uEC00\uEC03" +
"\uEC0B\uEC0D\uEC16\uEC3D\uEC4A\uEC4D\uEC53\uEC55" +
"\uEC61\uEC77\uEC7C\uEC7F\uEC87\uEC8C\uEC8F\uEC97" +
"\uECAE
"\uED23\uED33\uED37\uED38\uED3A\uED44\uED48\uED4C" +
"\uED59\uED5C\uED5D\uED5E\uED64\uED66\uED6D\uED6F" +
"\uED7B\uEDAE\uEDC1\uEDF3\uEDF5\uEE2E\uEE43\uEE45" +
"\uEE4A\uEE53\uEE59\uEE65\uEE89\uEE93\uEE97\uEE9F" +
"\uEEB2\uF6DD\uF820\uF821\uF822\uF823\uF824\uF825" +
"\uF826\uF827\uF828\uF829\uF82A\uF82B\uF82C\uF82D" +
"\uF82E\uF82F\uF830\uF831\uF832\uF833\uF834\uF835" +
836 \uF837\uF839uF83A\uE005uE008+
"\uE028\uE02B\uE043\uE06A\uE06B\uE06E\uE07E\uE086" +
"\uE098\uE09B\uE0A0\uE0A8\uE0BB\uE0C2\uE0CD\uE0D7" +
"\uE0DA\uE0F1\uE0F4\uE0FA\uE0FC\uE104\uE105\uE10E" +
"\uE117\uE125\uE12A\uE12B\uE13C\uE143\uE144\uE153" +
"\uE15E\uE15F\uE160\uE164\uE17E\uE18C\uE19A\uE19C" +
"\uE1A7\uE1A9\uE1C6\uE1CF\uE1E0\uE1E1\uE1E3\uE1E7" +
"\uE1EA\uE1F4\uE1F8\uE203\uE211\uE217\uE218\uE239" +
"\uE23F\uE243\uE246\uE25D\uE25E\uE281\uE28A\uE298" +
"\uE2A2\uE2AC\uE2B1\uE2C8\uE2D7\uE30D" ;
private static final byte [] expectedBytes =
{(byte )0 x89,(byte )0 xb7,(byte )0 x89,(byte )0 xba,(byte )0 x89,
(byte )0 xbf,(byte )0 x89,(byte )0 xc5,(byte )0 x89,(byte )0 xd5,
(yte0 x89,(byte )0 xd7()0 x89()0 xda,byte 0 ,
(byte )0 xdb,(byte )0 x89,(byte )0 xdc,(byte )0 x89,(byte )0 xe6,
(byte )0 x89,(byte )0 xe8,(byte )0 x89,(byte )0 xea,(byte )0 x89,
(byte )0 xed,(byte )0 x89 displayNamecountone>ĩtriaãdawara<displayName>
(byte )0 x89,(byte )0 xf9,(byte )0 x89,(byte )0 xfb,(byte )0 x89,
(byte )0 xfc,(byte )0 x89,(byte )0 xfe,(byte )0 x8a,(byte )0 x48,
(byte )0 x8a,(byte )0 x4d,(byte )0 x8a,(byte )0 x51,(byte )0 x8a,
(byte )0 x52,(byte )0 x8a,(byte )0 x67,(byte )0 x8a,(byte )0 x6b,
(byte )0 x8a,(byte )0 x6d,(byte < =otherFulur triadawaradisplayNamejava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
(byte )0 x76,(byte )0 x8a,(byte )0 x7d,(byte )0 x8a,(byte )0 xac,
(byte )0 x8a,byte )xae(byte )0 x8a(byte )0 xb8()0 x8a,
(byte )0 xb9,(byte )0 x8a,(byte )0 xbb,(byte )0 x8a,(byte )0 xc2,
(byte )0 x8a,(byte )0 xc7,(byte )0 x8a,(byte )0 xd0,(byte )0 x8a,
(byte )0 xd1,(byte )0 x8a,(byte )0 xd3,(byte )0 x8a,(byte )0 xda,
(byte )0 x8a,(byte )0 xeb,(byte )0 x8a,(byte )0 xf0,(byte )0 x8a,
(byte )0 xfb,(byte )0 x8b,(byte )0 x47,(byte )0 x8b,(byte )0 x60,
(byte )0 x8b,(byte )0 x68,(byte )0 x8b,(byte )0 x6a,(byte )0 x8b,
(byte )0 xa6,(byte )0 x8b,(byte )0 xb1,(byte )0 x8b,(byte )0 xb5,
(byte )0 x8b,(byte )0 xb6,(byte )0 x8b,(byte )0 xb8,(byte )0 x8b,
(byte )0 xbe,(byte )0 x8b,(byte )0 xc8,(byte )0 x8b,(byte )0 xcc,
(byte )0 x8b,(byte )0 xdc,(byte )0 x8d,(byte )0 x63,(byte )0 x8d,
(byte 0 x64,(byte )0 x8d,()0 x67,byte )x8d(byte 0 x68,
(byte )0 x8d,(byte )0 x6d,(byte )0 x8d,(byte )0 x6e,(byte )0 x8d,
(byte )0 x6f,(byte )0 x8d,(byte )0 x70,(byte )0 x8d,(byte )0 x74,
(byte )0 x8d,(byte )0 x78,(byte )0 x8d,(byte )0 x7d,(byte )0 x8d,
(byte )0 xa1,(byte )0 x8d,byte 0 ,(byte )0 x8dbyte 0 ,
(byte )0 x8d,(byte )0 xad,(byte )0 x8d,(byte )0 xb0,(byte )0 x8d,
(byte )0 xb2,(byte )0 x8d,(byte )0 xb4,(byte )0 x8d,(byte )0 xb7,
(byte )0 x8d,(byte )0 xba,(byte )0 x8d,(byte )0 xbb,(byte )0 x8d displayName="ãitagulawaradisplayName>
(byte )0 xbc,(byte )0 x8d,(byte )0 xc3,(byte )0 x8d,(byte )0 xc5,
(byte )0 x8d,(byte )0 xca,(byte )0 x8d,< ="" AOAsymbol
(byte )0 xd6,(byte )0 x8d,(byte )0 xdb,(byte )0 x8d,(byte )0 xeb,
(byte )0 x8d,(byte )0 xef,(byte )0 x8d,(byte )0 xf0,(byte )0 x8d,
(byte )0 xf3,(byte )0 x8d,(byte )0 xf5,(byte )0 x8d,(byte )0 xfc,
(byte currency
(byte )0 x55,(byte )0 x8e,(byte )0 x59,(byte )0 x8e,(byte )0 x6b,
(byte )0 x8e,(byte )0 xa2,(byte )0 x8e,(byte )0 xaf,(byte )0 x8e,
(byte )0 xb9()0 x8e(byte 0 ,(byte 0 x8e,byte 0 ,
(byte )0 x8e,(byte )0 xd8,(byte )0 x8e,(byte )0 xed,(byte )0 x8e,
(byte )0 xfe,(byte )0 x8f,(byte )0 x45,(byte )0 x8f,(byte )0 x50,
(byte )0 x8f(byte )0 x54,(byte )0 x8f,byte )x59(yte0 x8f,
(byte )0 x5d,(byte )0 x8f,(byte )0 x63,(byte )0 x8f,(byte )0 x64,
(byte )0 x8f,(byte )0 x70,(byte )0 x8f,(byte )0 x74,(byte )0 x8f,
(byte )0 x76,(byte )0 x8f,(byte )0 x7a,(byte )0 x8f,(byte )0 x7c,
(byte )0 x8f,(byte )0 xa9,(byte )0 x8f,(byte )0 xab,(byte )0 x8f,
/>
(byte )0 x8f,(byte )0 xeb,(byte )0 x8f,(byte )0 xf1,(byte )0 x8f,
(byte )0 xfd,(byte )0 x90,(byte )0 x44,(byte )0 x90,(byte )0 x55,
(byte )0 x90,(byte )0 x60,(byte )0 x90,(byte )0 x6f,(byte )0 x90,
(byte )0 xaa,(byte )0 x90,(byte )0 xb7,(byte )0 x90,(byte )0 xbc,
(byte )0 x90,(byte )0 xc0,(byte )0 x90,(byte )0 xc9,(byte )0 x90,
( displayNameã gulawara 1990 )displayName
(byte )0 x90,(byte )0 xf5,(byte )0 x90,(byte )0 xfa,(byte )0 x90,
(byte )0 xfc,(byte )0 x91,(byte )0 x45,(byte )0 x91,(byte )0 x4f,
(byte )0 x91,(byte )0 x58,(byte ) displayNamecount>ã gulawara ()<displayNamejava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
(byte )0 x66,(byte )0 x91,(byte )0 xae,(byte )0 x91,(byte )0 xb3,
(byte 0 x91byte 0 xb4,byte 0 x91,(byte )0 xb5byte 0 ,
(byte )0 xb7,(byte )0 x91,(byte )0 xbb,(byte )0 x91,(byte )0 xcd,
(byte )0 x91,(byte )0 xe3,(byte )0 x91,(byte )0 xee,(byte )0 x91,
(byte 0 xf2byte )0 x91,()0 xf5byte 0 x91byte )xf9
(byte )0 x92,(byte )0 x4c,(byte )0 x92,(byte )0 x51,(byte )0 x92,
(byte )0 x52,(byte )0 x92,(byte )0 x53,(byte )0 x92,(byte )0 x57,
byte )0 x92(byte )0 x69,byte 0 x92,(byte )0 x74(yte0 x92
(byte )0 x77,(byte )0 x92,(byte )0 xbd,(byte )0 x92,(byte )0 xc9,
(byte )0 x92,(byte )0 xd2,( displayNameKusa ãulawarayumnhwayuiri1995 –)/isplayName>
(byte )0 xdb,(byte )0 x92,(byte )0 xe9,(byte )0 x92,(byte )0 xfa,
(byte )0 x93,(byte )0 x47,(byte )0 x93,(byte )0 x4b,(byte )0 x93,
byte 0 x57byte ),()0 ,()x93)x5b
(byte )0 x93,(byte )0 x6f,(byte )0 x93,(byte )0 xa4,(byte )0 x93,
(byte )0 xb5,(byte )0 x93,(byte )0 xc1,(byte )0 x93,(byte )0 xc2,
(byte )0 x93,(byte )0 xcd,(byte )0 x93,(byte )0 xd4,(byte )0 x93,
(byte 0 xdd()0 x93byte )xe0,byte 0 ,()0 xe4java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
(byte )0 x93,(byte )0 xe9,(byte )0 x93,(byte )0 xeb,(byte )0 x93,
(byte )0 xf6,(byte )0 x94,(byte )0 x49,(byte )0 x94,(byte )0 x63,
(byte )0 x94,(byte )0 x64,(byte )0 x94,(byte )0 x69,(byte )0 x94,
(byte )0 x6e,(byte )0 x94,(byte )0 x70,(byte )0 x94,(byte )0 x72,
(byte )0 x94,(byte )0 x75,(byte )0 x94,(byte )0 x79,(byte )0 x94,
(byte )0 x7e,(byte )0 x94,(byte )0 xa1,(byte )0 x94,(byte )0 xa3,
(byte 0 x94,(byte )0 xb5(byte 0 ,(byte )xb9()x94
(byte )0 xbc,(byte )0 x94,(byte )0 xc9,(byte )0 x94,(byte )0 xd1,
(byte )0 x94,(byte )0 xd3,(byte )0 x94,(byte )0 xdb,(byte )0 x94,
=one ẽ<displayName
(byte )0 x94,(byte )0 xef,(byte )0 x95,(byte )0 x44,(byte )0 x95,
(byte )0 x5a,(byte )0 x95,(byte )0 x62,(byte )0 x95,(byte )0 x64,
(byte )0 x95,(byte )0 x73,(byte )0 x95,(byte )0 xb0,(byte )0 x95,
(byte )0 xb2,(byte )0 x95,(byte )0 xb3,(byte )0 x95,(byte )0 xb4,
(byte )0 x95,(byte )0 xc6,(byte )0 x95,(byte )0 xc7,(byte )0 x95,
(byte )0 xcd,(byte )0 x95,(byte )0 xd1,(byte )0 x95,(byte )0 xd6,
(byte )0 x95,(byte )0 xdb,(byte )0 x95,(byte )0 xdf,(byte )0 x95,
(byte )0 xec,()0 x95(yte)xf0()0 x95byte )xf6,
(byte )0 x95,(byte )0 xfc,(byte )0 x96,(byte )0 x41,(byte )0 x96,
(byte )0 x4d,(byte )0 x96,(byte )0 x5c,(byte )0 x96,(byte )0 x62,
(byte )0 x96,(byte )0 x64,(byte )0 x96,(byte )0 x69,(byte )0 x96,
(byte )0 x6b,(byte )0 x96,(byte )0 x75,(byte )0 x96,(byte )0 x78,
(byte )0 x96,(byte )0 x79,(byte )0 x96,(byte )0 xa6,(byte )0 x96,
(byte )0 xa8,(byte )0 x96,(byte )0 xb9,(byte )0 x96,(byte )0 xbc,
byte 0 x96)xc8)0 x96,(byte 0 xd4byte 0 ,
(byte )0 xd6,(byte )0 x96,(byte )0 xdf,(byte )0 x96,(byte )0 xe9,
(byte )0 x96,(byte )0 xf7,(byte )0 x97,(byte )0 x43,(byte )0 x97,
(byte )0 x45,(byte )0 x97,(byte )0 x46,(byte )0 x97,(byte )0 x5d,
(byte )0 x97,(byte )0 x61()0 x97,(byte )x66(97 ,
(byte )0 x7c,(byte )0 x97,(byte )0 xae,(byte )0 x97,(byte )0 xb0,
(byte )0 x97,(byte )0 xb8,(byte )0 x97,(byte )0 xba,(byte )0 x97,
byte 0 xc0byte ),yte)xc2,byte 0 ,(byte 0 xc3,
(byte )0 x97,(byte )0 xc5,(byte )0 x97,(byte )0 xc6,(byte )0 x97,
(byte )0 xc9,(byte )0 x97,(byte )0 xcd,(byte )0 x97,(byte )0 xd2,
(byte )0 x97,(byte )0 xd7,(byte )0 x97,(byte )0 xda,(byte )0 x97,
97 ,byte 0 xdd
(byte )0 x97,(byte )0 xde,(byte )0 x97,(byte )0 xe1,(byte )0 x97,
(byte )0 xe7,(byte )0 x97,(byte )0 xfd,(byte )0 x97,(byte )0 xfe,
(byte )0 x98,(byte )0 x53,(byte )0 x98,(byte )0 x56,(byte )0 x98,
(byte )0 x72,(byte )0 x98,(byte )0 x79,(byte )0 x98,(byte )0 xa8,
(byte )0 x98,(byte )0 xbc,(byte )0 x98,(byte )0 xc3,(byte )0 x98,
(byte )0 xc5,(byte )0 x98,(byte )0 xcb,(byte )0 x98,(byte )0 xcc,
(byte )0 x98,(byte )0 xcd,(byte )0 x98,(byte )0 xce,(byte )0 x98,
byte 0 xd0)0 x98,(yte)0 ,(byte )0 x98byte 0 xd6,
(byte )0 x98,(byte )0 xd9,(byte )0 x98,(byte )0 xdb,(byte )0 x98,
(byte )0 xdd,(byte )0 x98,(byte )0 xe4,(byte )0 x98,(byte )0 xe6,
()x98)xe8byte x98)xe9byte 0 x98
(byte )0 xeb,(byte )0 x98,(byte )0 xec,(byte )0 x98,(byte )0 xf4,
(byte )0 x98,(byte )0 xfe,(byte )0 x99,(byte )0 x40,(byte )0 x99,
(byte )0 x46,(byte )0 x99,(byte )0 x48,(byte )0 x99,(byte )0 x4b,
count=other"draft=" ontributed>Pusewaitaargẽinuita (981 –970 ))</displayName>
(byte )0 x56,(byte )0 x99,(byte )0 x59,(byte )0 x99,(byte )0 x5b,
(byte )0 x99,(byte )0 x67,(byte )0 x99,(byte )0 x6e,(byte )0 x99,
(byte )0 x73,(byte )0 x99,(byte )0 x7a,(byte )0 x99,(byte )0 x7b,
(byte )0 x99,(byte )0 xa1,( <currency
(byte )0 xa7,(byte )0 x99,(byte )0 xad,(byte )0 x99,(byte )0 xb3,
(byte )0 x99,(byte )0 xbc,(byte )0 x99,( currency=>
(byte )0 xc7,(byte )0 x99,(byte )0 xce,(byte )0 x99,(byte )0 xcf,
()0 x99byte ,(yte0 ,()0 xe1()0 x99java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
(byte )0 xe9,(byte )0 x99,(byte )0 xf5,(byte )0 x99,(byte )0 xf8,
()x9a)0 ,byte ,byte 0 x49,()0 x9a,
(byte )0 x50,(byte )0 x9a,(byte )0 x55,(byte )0 x9a,(byte )0 x58,
(byte )0 x9a,(byte )0 x5a,(byte )0 x9a,(byte )0 x5c,(byte )0 x9a,
(byte )0 x60,(byte )0 x9a,(byte )0 x63,(byte )0 x9a,(byte )0 x6e,
(byte )0 x9a,(byte )0 x70,(byte )0 x9a(byte 0 x79,(byte ) x9a
(byte )0 x7b,(byte )0 x9a,(byte )0 xbd,(byte )0 x9a,(byte )0 xec,
(byte )0 x9b,(byte )0 x4d,(byte )0 x9b,(byte )0 xa9,(byte )0 x9b,
(byte )0 xaa,(byte )0 x9b,(byte )0 xb8,(byte )0 x9b,(byte
(byte )0 x9b,(byte )0 xc2,(byte )0 x9b,(byte )0 xdf,(byte )0 x9b,
(byte )0 xe3,(byte )0 x9b,(byte )0 xea,(byte )0 x9b,(byte )0 xee,
(byte )0 x9c,(byte )0 x4a,(byte )0 x9c,(byte )0 x5c,(byte )0 x9c,
(byte )0 x6f,(byte )0 x9c,(byte )0 x79,(byte )0 x9c,(byte )0 xa1,
(byte )0 x9c,(byte )0 xa5,(byte )0 x9c,(byte )0 xba,(byte )0 x9c <isplayNamePusewaẽ</displayName>
(byte )0 xbb,(byte )0 x9c,(byte )0 xbe,(byte )0 x9c,(byte )0 xc6,
(byte )0 x9c,(byte )0 xc8,(byte )0 x9c,(byte )0 xd1,(byte )0 x9c,
(byte )0 xf8,(byte )0 x9d,(byte )0 x46,(byte )0 x9d,(byte )0 x49,
(byte )0 x9d,byte )x4f(yte0 x9d,byte 0 x51,()0 x9d,
(byte )0 x5d,(byte )0 x9d,(byte )0 x73,(byte )0 x9d,(byte )0 x78,
(byte )0 x9d,(byte )0 x7b,(byte )0 x9d,(byte )0 xa5,(byte )0 x9d,
(byte )0 xaa,(byte )0 x9d,(byte )0 xad,(byte )0 x9d,(byte )0 xb5,
()0 x9d()0 xcc,(yte0 ,byte 0 xce(byte 0 x9d,
(byte )0 xee,(byte )0 x9d,(byte )0 xf3,(byte )0 x9e,(byte )0 x53,
(byte )0 x9e,(byte )0 x64,(byte )0 x9e,(byte )0 x7a,(byte )0 x9e,
(byte )x7ebyte )0 x9ebyte 0 xa4byte 0 x9ebyte 0 xb4
(byte )0 x9e,(byte )0 xb8,(byte )0 x9e,(byte )0 xb9,(byte )0 x9e,
(byte )0 xbb,(byte )0 x9e,(byte )0 xc5,(byte )0 x9e,(byte )0 xc9,
(byte )0 x9e,(byte )0 xcd,(byte )0 x9e,(byte )0 xda,(byte )0 x9e,
(byte )0 xdd,(byte )0 x9e,(byte )0 xde,(byte )0 x9e,(byte )0 xdf,
(byte )0 x9e,(byte )0 xe5,(byte )0 x9e,(byte )0 xe7,(byte )0 x9e,
(byte ),()0 x9e,byte 0 xf0(yte)x9e,byte )xfc
(byte )0 x9f,(byte )0 x70,(byte )0 x9f,(byte )0 xa5,(byte )0 x9f,
(byte )0 xd7,(byte )0 x9f,(byte )0 xd9,(byte )0 xa0,(byte )0 x53,
(byte )0 xa0,(byte )0 x68,(byte )0 xa0,(byte )0 x6a,(byte )0 xa0,
(byte )0 x6f,(byte )0 xa0,(byte )0 x78,(byte )0 xa0,(byte )0 x7e,
(byte )0 xa0(byte )0 xac,()0 ,(byte )xd0(yte)xa0
(byte )0 xda,(byte )0 xa0,(byte )0 xde,(byte )0 xa0,(byte )0 xe6,
(byte )0 xa0,(byte )0 xf9,(byte )0 xc6,(byte )0 xcd,(byte )0 xc8,
(byte )0 xd6 < ="" Xir íriaku/>
(byte )0 xc8,(byte )0 xd9,(byte )0 xc8,(byte )0 xda,(byte )0 xc8,
(byte <currency type"UD>
(byte )0 xc8,(byte )0 xde,(byte )0 xc8,(byte )0 xdf,(byte )0 xc8,
(byte )0 xe0,(byte )0 xc8,(byte )0 xe1,(byte )0 xc8,(byte )0 xe2,
(byte )0 >ó AusitaraliwaradisplayName
(byte )0 xe5,(byte )0 xc8,(byte )0 xe6,(byte )0 xc8,(byte )0 xe7,
(byte )0 xc8,(byte )0 xe8,(byte )0 xc8,(byte )0 xe9,(byte )0 xc8,
(byte )0 xea,(byte )0 xc8,(byte )0 xeb,(byte )0 xc8,(byte )0 xec,
(byte )0 xc8,(byte )0 xed,(byte )0 xc8,(byte )0 xee,(byte )0 xc8,
(byte )0 xef="" >ó- Ausitaraliwara/displayName
(byte )0 xfa,(byte )0 x45,(byte )0 xfa,(byte )0 x48,(byte )0 xfa,
(byte )0 x68,(byte )0 xfa,(byte )0 x6b,(byte )0 xfa,(byte )0 xa5,
(byte )0 xfa,(byte )0 xcc,(byte )0 xfa,(byte )0 xcd,(byte )0 xfa,
(byte )xd0,byte 0 xfa)0 ,(ytexfabyte )xe8
(byte )0 xfa,(byte )0 xfa,(byte )0 xfa,(byte )0 xfd,(byte )0 xfb,
(byte )0 x43,(byte )0 xfb,(byte )0 x4b,(byte )0 xfb,(byte )0 x5e,
(byte )0 xfb,(byte )0 x65,(byte )0 xfb,(byte )0 x70,(byte )0 xfb,
(byte )0 x7a,(byte )0 xfb,(byte )0 x7d,(byte )0 xfb,(byte )0 xb6,
(byte )0 xfb,(byte )0 xb9 currency="" java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
(byte )0 <isplayName>FulurĩArubawara<displayNamejava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
(byte )0 xfb,(byte )0 xd3,(byte )0 xfb,(byte )0 xdc,(byte )0 xfb,
(byte )xea,(ytexfb()0 xef,)0 ,(byte 0 xf0,
(byte )0 xfc,(byte )0 x42,(byte )0 xfc,(byte )0 x49,(byte )0 xfc,
(byte )0 x4a,(byte )0 xfc,(byte )0 x59,(byte )0 xfc,(byte )0 x64,
(byte )0 xfc,(byte )0 x65,(byte )0 xfc,(byte )0 x66,(byte )0 xfc,
()x6a)xfc)xa6)xfc0 ,
(byte )0 xfc,(byte )0 xc2,(byte )0 xfc,(byte )0 xc4,(byte )0 xfc,
(byte )0 xcf,(byte )0 xfc,(byte )0 xd1,(byte )0 xfc,(byte )0 xee,
(byte )xfcbyte 0 xf7,byte 0 ,()x49byte )xfd
(byte )0 x4a,(byte )0 xfd,(byte )0 x4c,(byte )0 xfd,(byte )0 x50,
(byte )0 xfd,(byte )0 x53,(byte )0 xfd,(byte )0 x5d,(byte )0 xfd,
(byte )0 x61,(byte )0 xfd,(byte )0 x6c,(byte )0 xfd,(byte )0 x7a,
(byte )0 xfd,(byte )0 xa2,(byte )0 xfd,(byte )0 xa3,(byte )0 xfd,
(byte )0 xc4,(byte )0 xfd,(byte )0 xca,(byte )0 xfd,byte )0 xce,
(byte )0 xfd,(byte )0 xd1,(byte )0 xfd,(byte )0 xe8,(byte )0 xfd,
(byte )0 xe9,(byte )0 xfe,(byte )0 x4d,(byte )0 xfe,(byte )0 x56,
()xfe0 ,byte ,byte x6e)xfejava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
(byte )0 x78,(byte )0 xfe,(byte )0 x7d,(byte )0 xfe,(byte )0 xb6,
(byte )0 xfe,(byte )0 xc5,(byte )0 xfe,(byte )0 xfb };
public static void main(String[] args) throws Exception {
byte [] encodedBytes = new byte [1000 ];
encodedBytes = uni21String.getBytes("Big5-HKSCS" );
for (int i = 0 ; i < encodedBytes.length - 1 ; i++) {
if (encodedBytes[i] != expectedBytes[i]
|| encodedBytes[i+1 ] != expectedBytes[i+1 ]) {
throw new Exception("Unexpected char->byte HKSCS mappings" );
}}
}
}
}
Messung V0.5 in Prozent C=99 H=99 G=98
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet am 2026-06-10)
¤
*© Formatika GbR, Deutschland