S. Isaac Dealey wrote:
> On ColdFusion, never... :) it should never have \uXXXX in it if you're
> using ColdFusion. Java ResourceBundles work that way because the spec
> for Java says that the file has to be ASCII text, so the \uXXXX

actually my rb CFCs do require that type of encoding. these thing use native 
java rb classes to read them & turn into "human readable text".

> If you really needed to use ASCII formatted resource bundles, you
> could loop over the string and replace each instance with its unicode
> equivalent, but that's going to produce lots of extra and unnecessary
> overhead for other languages.

no, you can simply use one of the rb CFCs. they are fairly efficient.

> Iirc Paul provided a couple different resource bundle packages on the
> developer's exchange. One that uses java resource bundles (which is
> more academic or for accessing existing resources) and one for pure
> ColdFusion, which is the one you want for any new CF project. If
> you're using the java version, stop. Please. For the love of God! :)

no. again i recommend using the java style rb files as that's what the vast 
majority of rb tools use. using rb files in cf apps is a good idea but it's 
just 
the tip of the iceberg. there are huge, nasty, monster-thumping problems below 
the surface related to managing the darned things, dealing with domain experts 
as translators, testers, etc.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236759
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to