Special characters (e.g. quotation marks) in resource bundles
when put special characters such quotation marks in resource bundles, compile-time error when generated source compiled. how insert special characters?
the error is:
syntax error: expecting rightbrace before name. [generated code (use -keep save): path: registrationform_properties, line: 18, column: 42]
i've tried following in .properties file. same error because generate same actionscript:
personname="name"
personname=\"name\"
personname=\u0022name\u0022
here's generated actionscript 3 (notice many quotes around name):
properties["personname"] = ""name"";
the error is:
syntax error: expecting rightbrace before name. [generated code (use -keep save): path: registrationform_properties, line: 18, column: 42]
i've tried following in .properties file. same error because generate same actionscript:
personname="name"
personname=\"name\"
personname=\u0022name\u0022
here's generated actionscript 3 (notice many quotes around name):
properties["personname"] = ""name"";
hello, bmorearty -
in .properties files, key values not sorrounded quotes or else. example:
for xxxen_us.properties - personname=name
for xxxes_co.properties - personname=nombre
but can use special characters within key values no problems.
carlos
in .properties files, key values not sorrounded quotes or else. example:
for xxxen_us.properties - personname=name
for xxxes_co.properties - personname=nombre
but can use special characters within key values no problems.
carlos
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment