macromedia.coldfusion.flash_integration
[Top] [All Lists]

Re: problem with polish letters passing to database

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>