Hi,
see my comments below.
Paul Hastings <[EMAIL PROTECTED]> wrote:
veena iyer wrote:
> Well!As i mentioned yday, we have migrated from Coldfusion 5 to MX7 server.
cf5 never really cared about encoding. mx does.
> i got a Page where encoding has been set for this page dynamically. { ie in
> this page, include file which has got the code for encoding is put under
> . Here actually encoding is defined, based on countries (this data is
> coming from database, which stores country codes & their resp encoding.) }
country really has nothing to do w/language let alone encoding--i take it you
really want language. if that's the case, your best bet going forward is to
take
the time now & change everything to unicode & use just that encoding. it is a
very bad idea to have multiple encodings in one application.
[ I got an appln which involves 23 countries, diff lang & diff encoding. If
i stick to a common one say Unicode (UTF-8) as per u , how will diff languages
text be viewed on the browser then ? Explain ? ]
> ColdFusion throws an error. Is there any other alternative for the above
> thing ? Pls suggest....
yes, "just use unicode".
> pageencoding="windows-1252" /> in a page and include this page in my main
> page. Defaultly, encoding is set as UTF-8.
main page & included pages must have the same encoding. [see i m setting an
encoding only in one file, which is getting included in my main page. If i need
to do it in both the pages, then whats the point to have a include file ? ]
> If i need to give tag then whats the use of > type="text/html;
> charset=windows-1252">
you don't really BUT it's a darned good idea for spiders, etc. or other dumb
s/w
that needs encoding hints.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU
Archive:
http://www.houseoffusion.com/groups/CF-Server/message.cfm/messageid:6212
Subscription: http://www.houseoffusion.com/groups/CF-Server/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.10