Re: CFMX + UTF8 vs Javascript: problem solved
Credit goes back to Jochem. He's the one that helped me figure it out. - Original Message - From: Claude Schneegans [EMAIL PROTECTED] Thanks all for your help, especially Deanna. ~| 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:191687 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
Re: CFMX + UTF8 vs Javascript: problem solved
Hi, I finally figured out that the iso-8859-1 characters where replaced by y not in the database, but during the post through the form. As Deanna Schneider pointed out, I needed to add both lines cfset setEncoding(url,ISO-8859-1) cfset setEncoding(form,ISO-8859-1) in the Application.cfm Now, in order the application is completely CF 5 and CFMX compatible, I use this in the application template: CFSET CFversion = listGetAt(server.coldfusion.productVersion, 1) CFIF CFversion GT 5 cfcontent type=text/html; charset=ISO-8859-1 cfset setEncoding(url,ISO-8859-1) cfset setEncoding(form,ISO-8859-1) /CFIF Thanks all for your help, especially Deanna. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191639 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
Re: CFMX + UTF8 vs Javascript
Claude Schneegans wrote: Including the Javascrip files, but how do I edit them? notepad, cfstudio (just leave the BOM alone), cfeclipse, etc. What do you mean ghost echo, I'm still having a ?%$/ problem, and it is not a ghost problem ;-) an email that got somehow recycled shows up later on from the middle of that thread. By the way, how should we call this behaving from CF which forces UTF-8 uncompatible with Javascript? A bug? nope, a victory for i18n standards, good practices, etc. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191640 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
Re: CFMX + UTF8 vs Javascript
Hi, I'm still having a big problem with this application in French, moving from CF 5.0 to CFMX. The problem is that all pages and data in the Access database are not in Unicode, but in plain good old iso-8859-1. CFMX by default is converting every thing in UTF-8. Explorer understand that it is UTF-8, and text looks ok. The trouble is that Explorer thinks that the Javascript files are also in UTF-8, but since they are not translated by CF, they are not. See this example here: http://diplomes.med.umontreal.ca/test/test.htm This file just contains SCRIPT LANGUAGE=JavaScript SRC=test.js TYPE=text/javascript/SCRIPT And the javascript file contains: alert(é ); When you call the htm page, the alert actually shows the character é But when you call test.cfm instead, the alert shows a square, because the é was interpreted as a bad UTF-8 string. If I add the line cfcontent type=text/html; charset=ISO-8859-1 in the Application.cfm file, everything looks fine, including Javascript, BUT now in every record edited on the site, any character higher that 127 is replaced by ý (7D in hex) in the database... :-( Do I also have to put cfprocessingdirective pageEncoding=ISO-8859-1 in EVERY page? This looks crazy, I have hundreds of pages and the code must also run on CF 5.0 ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191576 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
Re: CFMX + UTF8 vs Javascript
When on see pages like this: http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=209threadid=814963 I can really see I'm not the only one having problems with French characters under CFMX ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191580 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
Re: CFMX + UTF8 vs Javascript
Claude Schneegans wrote: Do I also have to put cfprocessingdirective pageEncoding=ISO-8859-1 in EVERY page? not a bad idea actually (never be shy about encoding hints) but if you want this server to ONLY handle latin-1 then: change the defaultCharset value in cf_root/lib/neo-runtime.xml file: var name='defaultCharset'stringUTF-8/string/var from UTF-8 to iso-8859-1. then stop/restart the cfserver service. a better long term solution is to convert those files to unicode (since cf5 won't really care anwyay), for $15 unifier's a pretty good deal: http://www.melody-soft.com/html/unifier.html ps: i hope this isn't somekind of ghost echo of the same thread from last week??? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191581 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
Re: CFMX + UTF8 vs Javascript
change the defaultCharset value in cf_root/lib/neo-runtime.xml file: var name='defaultCharset'stringUTF-8/string/var from UTF-8 to iso-8859-1. then stop/restart the cfserver service. Thanks for the trick. Since the server handles only English and French site, I don't think it should be a problem a better long term solution is to convert those files to unicode Including the Javascrip files, but how do I edit them? ps: i hope this isn't somekind of ghost echo of the same thread from last week??? What do you mean ghost echo, I'm still having a ?%$/ problem, and it is not a ghost problem ;-) By the way, how should we call this behaving from CF which forces UTF-8 uncompatible with Javascript? A bug? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Logware: 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:191583 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
RE: CFMX + UTF8 vs Javascript
Why do I need BOTH ? This tells the browser what format to expect the content it receives in: cfcontent type=text/html; charset=ISO-8859-1 And this tells CF how to process the current file (and hence is required in *every file* where you need to specifiy a page encoding): cfprocessingdirective pageEncoding=ISO-8859-1 Tim. -- --- Badpen Tech - CF and web-tech: http://tech.badpen.com/ --- RAWNET LTD - independent digital media agency We are big, we are funny and we are clever! New site launched at http://www.rawnet.com/ --- This message may contain information which is legally privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any unauthorised disclosure, copying, distribution or use of this information is strictly prohibited. Such notification notwithstanding, any comments, opinions, information or conclusions expressed in this message are those of the originator, not of rawnet limited, unless otherwise explicitly and independently indicated by an authorised representative of rawnet limited. --- ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191325 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
Re: CFMX + UTF8 vs Javascript
Claude Schneegans wrote: I know that you are a fervent suporter of Unicode, and I'm also, but only where I need it, except that we think it's always needed. retrofitting is a bore. For some pages in some sites in some languages, YES, but for most european languages, iso-8859-1 is the standard. as jochem has pointed out it has no euro, and as i found out from the unicode list not even all chars from most european languages as you put it: http://www.sustainablegis.com/blog/cfg11n/index.cfm?mode=entryentry=5273BBAB-20ED-7DEE-2AD54A06799B0467 and these days i'm not sure what you'd call turkey (or the ukraine for that matter). unicode is really the only sensible char encoding for the euroland. Of course, one can always use a combine harvester to mow one's green... ;-) that's not even close to being analogous. it's a myth that unicode is bloated, it's as efficient as it needs to be for the task it has to accomplish. the most frequently used chars (at least at the beginning of the unicode and perhaps internet) are encoded using only 1 byte. that helped give rise to some conspiracy folk's idea that the unicode was some kind of english-speaking western plot to take control of the world's languages. microsoft has replaced the english-speaking western powers as the evil genius in the latest version. for other languages that can fit within a codepage (say thai) yup, there is some bloat. but i haven't see anybody around here complaining. Officially not, but de facto, yes. de facto? no i don't believe so. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191326 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
Re: CFMX + UTF8 vs Javascript
Jochem van Dieten wrote: not a default standard. If only for the existence of Win1252, which is the subtly different Windows default. yeah it is a subtle difference, i've seen it burn quite a few pages. i'd call that windows codepage a superset of iso-8859-1. ~| Logware: 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:191327 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
Re: CFMX + UTF8 vs Javascript
Claude Schneegans wrote: http://diplomes.med.umontreal.ca/testcfm.cfm btw that seem to work for me in ie 6.0.2800 in firefox 1. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191330 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
Re: CFMX + UTF8 vs Javascript
This tells the browser what format to expect the content it receives in: cfcontent type=text/html; charset=ISO-8859-1 More precisely: it tells CF to tell the browser what format to expect from what it will recive from CF. Then if CF knows the format, why should I tell it twice? BTW it seems to be working fine with only cfcontent in the Application.cfm template and no cfprocessingdirective in any file. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Logware: 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:191347 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
Re: CFMX + UTF8 vs Javascript
btw that seem to work for me in ie 6.0.2800 in firefox 1. I used the same file to test the suggested cure, so now it works. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191354 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
Re: CFMX + UTF8 vs Javascript
One can see an example here: http://diplomes.med.umontreal.ca/testhtm.htm The page just contains the string é É and call a javascript file which makes an alert with the same string With this plain HTML file, it works ok. Now with the exact same content in CF: http://diplomes.med.umontreal.ca/testcfm.cfm One can see that the JS alert is not correct. This is because the text is in Latin-1, but Explorer tries to interpret it as UTF-8 Both the CFM and HTM files contain this: BODYé É/BODY SCRIPT LANGUAGE=JavaScript SRC=test.js TYPE=text/javascript/SCRIPT and the JS file contains this: alert(é É ); When I look at the content sent by the server in the cache, I see that the html file contains the string: BODYé É/BODY But the CFM file contains: BODYé É/BODY Because it has been converted to UTF-8 The javascript file however is not, but Explorer interprets é É as UTF-8 -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191270 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
Re: CFMX + UTF8 vs Javascript
Have you tried using cfsetting to set it to latin (iso used here cause it's in a snippet? In App.cfm: cfset setEncoding(url,ISO-8859-1) cfset setEncoding(form,ISO-8859-1) cfcontent type=text/html; charset=ISO-8859-1 On Each Applicable Page: cfprocessingdirective pageEncoding=ISO-8859-1 in form: enctype=multipart/form-data: charset=ISO-8859-1 - Original Message - From: Claude Schneegans [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, January 20, 2005 3:31 PM Subject: Re: CFMX + UTF8 vs Javascript One can see an example here: http://diplomes.med.umontreal.ca/testhtm.htm The page just contains the string é É and call a javascript file which makes an alert with the same string With this plain HTML file, it works ok. Now with the exact same content in CF: http://diplomes.med.umontreal.ca/testcfm.cfm One can see that the JS alert is not correct. This is because the text is in Latin-1, but Explorer tries to interpret it as UTF-8 Both the CFM and HTM files contain this: BODYé É/BODY SCRIPT LANGUAGE=JavaScript SRC=test.js TYPE=text/javascript/SCRIPT and the JS file contains this: alert(é É ); When I look at the content sent by the server in the cache, I see that the html file contains the string: BODYé É/BODY But the CFM file contains: BODYé É/BODY Because it has been converted to UTF-8 The javascript file however is not, but Explorer interprets é É as UTF-8 -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Logware: 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:191282 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
RE: CFMX + UTF8 vs Javascript
If you have Homesite+ or other capable text editor (Notepad), you could re-save your js file in the utf-8 encoding and re-upload it... If you have LOTS of files you need to convert, I wrote a conversion tool that lets you convert from ansi to utf-8 en-mass that you can get from http://store.newmediadevelopment.net Paul ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191283 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
Re: CFMX + UTF8 vs Javascript
cfcontent type=text/html; charset=ISO-8859-1 cfprocessingdirective pageEncoding=ISO-8859-1 Ah ah, with both of thrm it seems to work. Why do I need BOTH ? in form: You mean in EVERY forms? Gee isn't there any setting in CFMX server to specify I don't need this UTF-8 stuff in all my sites? When I'll make a new site in chinese, may be I'll select UTF-8, but for the time being... -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Logware: 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:191287 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
Re: CFMX + UTF8 vs Javascript
If you have LOTS of files you need to convert, I wrote a conversion tool that lets you convert from ansi to utf-8 en-mass Well, this is fine, but I don't want to convert... Why should I convert to UTF-8 which takes 3 or 4 characters for any accented letter when I have been using for more that a decade is0-8859-1 which takes only one character? After all, iso-8859-1 is the default char set in the Internet, why isn't it also the default for CFMX? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191290 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
Re: CFMX + UTF8 vs Javascript
Claude Schneegans wrote: Well, this is fine, but I don't want to convert... Why should I convert to UTF-8 which takes 3 or 4 characters for any accented letter when I have been using for more that a decade is0-8859-1 which takes only one character? Because not all commonly used characters are in ISO-8859-1. After all, iso-8859-1 is the default char set in the Internet, why isn't it also the default for CFMX? ISO-8859-1 has never been the default charset in the internet. The default charset in the internet used to be US-ASCII and gradually went from that to UTF-8 folowing the acceptance of RFC 2044 in October 1996. If you look at any modern RFC you will see that UTF-8 compatibility is mandatory and the ISO-8859-x charsets are not even mentioned. Jochem ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191293 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
Re: CFMX + UTF8 vs Javascript
Because not all commonly used characters are in ISO-8859-1. I know that you are a fervent suporter of Unicode, and I'm also, but only where I need it, For some pages in some sites in some languages, YES, but for most european languages, iso-8859-1 is the standard. Of course, one can always use a combine harvester to mow one's green... ;-) ISO-8859-1 has never been the default charset in the internet. Officially not, but de facto, yes. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191296 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
Re: CFMX + UTF8 vs Javascript
Claude Schneegans wrote: Because not all commonly used characters are in ISO-8859-1. I know that you are a fervent suporter of Unicode, and I'm also, but only where I need it, For some pages in some sites in some languages, YES, but for most european languages, iso-8859-1 is the standard. ISO-8859-1 doesn't even have the euro. ISO-8859-1 has never been the default charset in the internet. Officially not, but de facto, yes. The time that internet was an exclusive North America and Western Europe party was also the time that US_ASCII was the standard. After that ISO-8859-1 may have been the biggest and the combined ISO-8859-x charsets carried considerable weight, but they were not a default standard. If only for the existence of Win1252, which is the subtly different Windows default. Jochem ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191306 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