Hi, No matter what I try this will not work for me. Can anybody point out what is wrong with this code. <cfset targ=#DateFormat("01/12/2001","dd/mm/yyyy")#> <cfoutput>#targ#</cfoutput> <cfset compare=DateDiff("d",#targ#,#DateFormat(Now(),"dd/mm/yyyy")#)>
It gives me weird output dates - of -233. Thanks, Declan -----Original Message----- From: Will Swain [mailto:[EMAIL PROTECTED]] Sent: 04 December 2001 11:19 To: CF-Talk Subject: RE: multilingual dynamic sites, particularly hindi Thanks Paul, that is all very useful. The DB will be sqlserver 2k so no probs there. I guess the main thing is the font, and installing it on the users system if they dont have it? cheers will -----Original Message----- From: Paul Hastings [mailto:[EMAIL PROTECTED]] Sent: 04 December 2001 10:51 To: CF-Talk Subject: Re: multilingual dynamic sites, particularly hindi > Just a general question really. We have been asked by a client to quote for > building a multilingual website, with versions in a number of European > languages, plus Hindi, and possibly Japanese. if they don't want to roll out a bunch of servers, then unicode. cf5 can work with unicode within some limitations. so you'll need to consider their user base, can they accept unicode (ie no loads of crappy older browsers & no loads of netscape)? go here for more unicode info: http://www.unicode.org/ or buy ben forta's new advanced cf5 which has an i18n starter chapter. > I have never done any multilingual work, so can anyone out there give me > some pointers on how to achieve this, and whether or not CF can handle a > language like Hindi. you do not want a punk database for this. sql server 2k would be my 1st choice (it does a very nice job of handling multiple locales). no idea about hindi (hi locale?? there's a boatload of indic locales) but cf & unicode can be seen in action here: http://www.tei.or.th/misc/unicode.cfm (several langauges, left to right & right to left directionality included) or if you want to see a major problem & workaround look here: http://www.tei.or.th/misc/unicodeSplit.cfm your content delivery can be in-memory or pulled on the fly from a database but basically every page should be in a database. improves management at a minimum. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.303 / Virus Database: 164 - Release Date: 11/24/2001 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists