|
From: Shen, F. <fs1...@nc...> - 2006-06-13 23:30:20
|
Hi,
You are right. The locale files were corrputted. The issue has been =
resolved. I was able to build the datafile. Thanks.
Fei=20
-----Original Message-----
From: icu...@li... =
[mailto:icu...@li...] On Behalf Of Eric =
Mader
Sent: Tuesday, June 13, 2006 2:23 PM
To: icu...@li...
Subject: Re: [icu-support] Errors in converting resource files
Those files are now encoded in UTF-8. The three bytes at the beginning =
are the Byte Order Mark (0xef, 0xbb, 0xbf).
I'm not sure about "\202\351\274"... the UTF-8 encoding of \u20AC is =
0xe2, 0x82, 0xac (\342\202\254).
Regards,
Eric Mader
IBM GCoC
Shen, Fei wrote:
> Hi, thanks for the quick reply.
>=20
> I did download the source using wincvs because we need to add our own=20
> conversion tables. According to the download page, CVS repository is=20
> the place to download because in the offical release the data is=20
> already pre-built. I also tried using cvs under unix, still no luck. I =
> noticed at the beginning of each of the locale txt files , there is=20
> this funny character in front of the first comment line
>=20
> =EF=BB=BF//=20
> **********************************************************************
> ****
> *
> // *
>=20
> I am not an epxert of these text file. From what I can tell, for=20
> instance, the EUR currency locale in the 2.8 locale/root.txt was
>=20
> EUR { "\u20AC", "EUR" } // Euro
>=20
> Now it is=20
> EUR{
> "\202\351\274",
> "EUR",
> }
>=20
> Was "\202\351\274" a result of bad file transfer. If so how to =
rectify? Thanks.=20
>=20
>=20
>=20
>=20
> -----Original Message-----
> From: icu...@li...=20
> [mailto:icu...@li...] On Behalf Of George =
> Rhoten
> Sent: Monday, June 12, 2006 10:21 PM
> To: icu...@li...
> Subject: Re: [icu-support] Errors in converting resource files
>=20
> Maybe your copy of ICU was incorrectly transferred to your machine.
>=20
> Can you try building the standard source code package of ICU that =
comes from the official download site instead of downloading it from =
CVS?=20
> http://www-306.ibm.com/software/globalization/icu/downloads.jsp
>=20
> When you use that source code package, please make sure that you use =
"gmake check" before using "gmake install". This will make sure that =
you built ICU correctly.
>=20
> George Rhoten
> IBM Globalization Center of Competency/ICU San Jos=E9, CA, USA=20
> http://www.icu-project.org/ http://icu.sourceforge.net/
>=20
>=20
>=20
> "Shen, Fei" <fs1...@nc...>
> Sent by: icu...@li...
> 06/12/2006 05:59 PM
> Please respond to
> icu...@li...
>=20
>=20
> To
> <icu...@li...>
> cc
>=20
> Subject
> Re: [icu-support] Errors in converting resource files
>=20
>=20
>=20
>=20
>=20
>=20
> Forgot to mention I am building it on solaris sparc 5.9
>=20
> From: icu...@li...
> [mailto:icu...@li...] On Behalf Of Shen,=20
> Fei
> Sent: Monday, June 12, 2006 5:54 PM
> To: icu...@li...
> Subject: [icu-support] Errors in converting resource files
>=20
> Hi,=20
> I am trying to build datafile ICU3.4.1 for the first time. I=20
> am encountering errors like this when I try to do make install under=20
> the data build directory. Does this mean the particular resouce text=20
> file is corrupted or I am missing ICU library files. Please advise, =
thanks.
>=20
>=20
>> make install
> LD_LIBRARY_PATH=3D../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH
> ../bin/genrb -k -i ./out/build/icudt34b -s=20
> /vob/icu/src/source/data/locales -d ./out/build/icudt34b root.txt=20
> LD_LIBRARY_PATH=3D../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH
> ../bin/genrb -k -i ./out/build/icudt34b -s=20
> /vob/icu/src/source/data/locales -d ./out/build/icudt34b ar.txt
> ###WARNING: Encountered abnormal bytes while converting input stream=20
> to target encoding: U_ILLEGAL_CHAR_FOUND
> make: *** [out/build/icudt34b/ar.res] Segmentation Fault (core dumped)
>=20
>=20
>> make install=20
> LD_LIBRARY_PATH=3D../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH =
> ../bin/genrb -k -i ./out/build/icudt34b -s =
/vob/icu/src/source/data/coll=20
> -d ./out/build/icudt34b/coll root.txt
> ###WARNING: Encountered abnormal bytes while converting input stream =
to=20
> target encoding: U_ILLEGAL_CHAR_FOUND=20
> Pre-context: ''=20
> =3D=20
> Context: =B6=20
> Post-context: '=20
> =3D '=A7'=20
> /vob/icu/src/source/data/coll/root.txt:13: An error occured while =
opening=20
> the input file /vob/icu/src/source/data/coll/../unidata/UCARules.txt
> /vob/icu/src/source/data/coll/root.txt:13: parse error. Stopped =
parsing=20
> with U_ILLEGAL_CHAR_FOUND=20
> couldn't parse the file root.txt. Error:U_ILLEGAL_CHAR_FOUND=20
> make: *** [out/build/icudt34b/coll/root.res] Error 12=20
>=20
> Fei _______________________________________________
> icu-support mailing list - icu...@li...
> To Un/Subscribe: =
https://lists.sourceforge.net/lists/listinfo/icu-support
>=20
>=20
>=20
>=20
> _______________________________________________
> icu-support mailing list - icu...@li...
> To Un/Subscribe: =
https://lists.sourceforge.net/lists/listinfo/icu-support
>=20
>=20
> _______________________________________________
> icu-support mailing list - icu...@li...
> To Un/Subscribe: =
https://lists.sourceforge.net/lists/listinfo/icu-support
>=20
>=20
>=20
_______________________________________________
icu-support mailing list - icu...@li...
To Un/Subscribe: =
https://lists.sourceforge.net/lists/listinfo/icu-support
|