Siegfried Dolleisch wrote:
> what are the basics to create a web site in farsi? 1) HTML-Header: <meta
> http-equiv="Content-Type" content="text/html; charset=utf-8" />

cf ignores this but useful for spiders, etc.

> 2) Change the field typs to nvarchar an ntext in the database

and generally increase their sizes, english is a rather terse language compared
to some.

> 3) <cfset SetEncoding("FORM", "UTF-8")/> if I work with the CFFORM-tag

and url if you pass stuff via that. you missed cfprocessingdirective &
cfcontent. seEncoding, cfcontent can go i application.cfm or it's equivalent.
cfprocessingdirective should be top of every page.

> 4) Have to change my provider anything else (SQL-Database and CF-Server)? I
> have no access, therefore I have to do exact instructions to him.

go for cf7.
> 
> Here an example: http://www.islamo.net/persisch.cfm and here is the code:
> http://www.islamo.net/persisch.txt My Problem, the field length (nvarchar) in
> the database is 200, but I can only insert 28 character (in arabic language!)
> in the input field... More then 28 character, I get an error.
> 
> This ist the entry in the dabase of 28 characters (!): 
> &#1579;&#1579;&#1602;&#1602;&#1601;&#1601;&#1594;&#1594;&#1593;&#1593;&#1607;&#1607;665544&#1576;&#1576;&#1604;&#1604;&#1575;&#1575;&#1575;&#1575;&#1578;&#1578;&#1602;&#1602;&#1602;&#1602;&#1602;
> 
that's a heck of lot more than 28 chars, it's >190. that looks like NCR. how 
did 
that get into your db?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271986
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to