| Subject: | Re: problem with polish letters passing to database |
|---|---|
| From: | "farmazone" <webforumsuser@xxxxxxxxxxxxxx> |
| Date: | Wed, 10 Oct 2007 08:20:04 +0000 (UTC) |
| Newsgroups: | macromedia.coldfusion.flash_integration |
I use MySQL 5.0.41 .
They end up correctly for sure. I put :
<cffile charset="utf-8" output = "#str#" action = "write" file =
"#ExpandPath('./')#foo.txt" attributes = normal >
and it writes the correct string (after I added charset="utf-8" attributes) so
it is OK.
here goes whole function
<cffunction name="update" access="remote" returntype="any">
<cfargument name="str" type="string" required="yes">
<cffile charset="utf-8" output = "#str#" action = "write" file =
"#ExpandPath('./')#foo.txt" attributes = normal >
<cfquery name="flashQuery" datasource="#This.datasource#"
username="#This.username#" password="#This.password#">
UPDATE miasto_texts SET
text_pl="#str#"
WHERE id="21"
</cfquery>
<cfreturn true>
</cffunction>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: cfcalendar Bug, AndrewNClarke |
|---|---|
| Next by Date: | Re: problem with polish letters passing to database, PaulH **AdobeCommunityExpert** |
| Previous by Thread: | Re: problem with polish letters passing to database, PaulH **AdobeCommunityExpert** |
| Next by Thread: | Re: problem with polish letters passing to database, PaulH **AdobeCommunityExpert** |
| Indexes: | [Date] [Thread] [Top] [All Lists] |