Duncan wrote:
> uh oh - we are talking cf5 here. hopefully not for too long, 6.1 is on the
> horizon for our production sites, and after we resolve some bugs with 7 and
> COM we will be there too.

then wait. you're likely storing data as raw utf-8 which makes 
collation, searching, etc. almost useless. when you make the move to 6 
you'll have to re-do the data. moving i18n cf5 to mx hurts.

> So here it is, we are trying to do this on cf5 right now.

can you wait and do the upgrade first? if not be prepared to re-do the 
db which could be as "simple" as a cfhttp call to the cf5 box or some 
kind of gut-wrenching data re-entry project (say you mixed encodings 
between raw utf-8, codepage encodings, etc.).

> One more thing is that I have discovered is that unless I specify
> <cfprocessingdirective pageencoding="utf-8"> on the page the characters are

i'm not following, that tag's not part of cf5.

> displayed in the wierdest fashion.

then your pages/data aren't utf-8 encoded somewhere along the line.

> Does this mean that browsers dont take much notice of this?
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

no, cf ignores this (though i recommend adding/keeping it for brain dead 
spiders, screen readers, etc. and as a forensic clue to the original 
encoding intent--charset detection has come a long way but it's not 
perfect). also some browsers won't swap according to the web page's 
encoding (or if it's "ambiguous"). they'll always run w/the user defined 
one. or if set to "auto" the browser may guess wrong based on 
conflicting "encoding hints".

> or is there some sort of hierarchy? or does it have something to do with the
> way they were stored?

without knowing everything, could be your encoding is out-of-sync 
somewhere. which is why you should be chanting over & over "just use 
unicode"...."just use unicode"..."just use unicode"...until that's how 
you reply to any questions asked of you ;-)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220103
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to