Hi again,

I created two simple test templates - they don't actually contain any cfml,
just utf-encoded html. One has a BOM, and the other not. I created/edited
these in VIM, and they look identical in the editor (in terms of character
display), and they should be encoded in utf-8.

The one with BOM displays fine in OpenBD, the other one not.
http://dev.nordpil.com/temp/utf_test.zip [3 KB]

Cheers,
Hugo


--
Hugo Ahlenius
fraxinus (at-sign) oxel.net
http://www.oxel.net 




| -----Original Message-----
| From: [email protected] [mailto:[email protected]] On Behalf
| Of Peter J. Farrell
| Sent: Wednesday, December 16, 2009 10:15
| To: [email protected]
| Subject: RE: GAE OpenBd - utf-8 characters
| 
| The real question is does OpenBD require utf-8 files to have BOM in it?
| If it requires the BOM to kick the engine to use utf-8, that really should
| be fixed to *not* require the BOM.  By default, it appears that Eclipse
| *does* not add BOM for utf-8 files (only utf-16le).  I found a post on the
| Eclipse Forums that states this (the question was from Jorge Vergara in
| regards to CFEclipse).
| 
| All my files are saved in Eclipse using utf-8 (but I'm assuming Eclipse
| doesn't add in the BOM because Java in the past didn't compile if there
| were BOM in the .java files).
| 
| I have confirmed on the the production system where this is a problem the
| default character set in the admin is set to UTF-8.  Don't tell me I have
| to cfprocessing directive on each .cfm file?
| 
| .Peter
| 
| Hugo Ahlenius said the following on 12/16/2009 02:33 AM:
| Hi,
| 
| I have played a bit with this on OpenBD 1.1 (Apache2, Tomcat 5.5.23,
| WinVista) - my simple test cfm-template does not display ok unless I add a
| BOM (byte-order mark). Could you maybe test that?
| 
| 
| 
| --
| Hugo Ahlenius
| fraxinus (at-sign) oxel.net
| http://www.oxel.net
| 
| 
| 
| 
| 
| --
| 
| Peter J. Farrell
| Email: [email protected] | p...@maestropublishing
| Blog: The Harmonious Programmer
| Twitter/Identi.ca: @maestrofjp
| --
| Open BlueDragon Public Mailing List
| http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
| mailing list - http://groups.google.com/group/openbd?hl=en
| 
| !! save a network - please trim replies before posting !!

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to