Ask a Question related to Coldfusion Flash Integration, Design and Development.
-
farmazone #1
problem with polish letters passing to database
hi.
I have problem with polish letters like '?????????' passing from flex to CF
script writing them to database . All I get is a string like "??????".
My database charset is UTF-8 and collation of tables is also utf-8
(utf8_general_ci ).everything is utf-8. Variables passed from flex and returned
back from CF script are fine.
Previously I used to work with php and amfphp and there were no problems with
encoding and database. I'm not newbie to flash and flex.
I work on MacPro Intel.
strange issue..
farmazone Guest
-
Polish characters in text input (linux problem only)
I've got some problems with TextInput. When i want to type polish characters (RIGHT ALT + combination: A,C,E,L,N,O,S,Z and X) - I've got no results.... -
HELP! Passing from database to asp page allowing user input then passing to another database.
My big problem is I'm a newbie working with someone else's code.(See code below) What I want to do is for the records that have a purchase order... -
Passing database info to page allow user input then pass into another database
Hi I really am going crazy! I'm using VBScript, ASP, and SQL My page reminds me of a shopping cart but looking at shopping cart examples has not... -
Printing Polish characters - PROBLEM
Hi I have a problem with printing Polish characters under Solaris 8 I set Polish locale, and on X-Windows it prints OK But from the line it... -
Problem with printig polish fonnts from OA on Solaris 8.0
Hi I have problem with printing Polish characters from OA under Oracle Aplication Can anybody help Me Thank You in Advance Marek Stojecki -
PaulH **AdobeCommunityExpert** #2
Re: problem with polish letters passing to database
farmazone wrote:
can you verify that they end up in cf correctly? just have cf write the text to> I have problem with polish letters like '?????????' passing from flex to CF
> script writing them to database . All I get is a string like "??????".
a file.
if you're sure the issue is on the cf end of things, what db? what db driver are
you using?
PaulH **AdobeCommunityExpert** Guest
-
farmazone #3
Re: problem with polish letters passing to database
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>
farmazone Guest
-
PaulH **AdobeCommunityExpert** #4
Re: problem with polish letters passing to database
farmazone wrote:
what db driver? make sure it's the JDBC one not ODBC. have you added> I use MySQL 5.0.41 .
"useUnicode=true&characterEncoding=utf8" to the url for the mysql dsn?
this looks ok except that i'd recommend using cfqueryparam & i'm not a big fan> <cffunction name="update" access="remote" returntype="any">
> <cfargument name="str" type="string" required="yes">
of the "this" scope.
PaulH **AdobeCommunityExpert** Guest
-
farmazone #5
Re: problem with polish letters passing to database
oh. thank you.
it's working when I added 'useUnicode=true&characterEncoding=utf8'. but I did
it via CF Administrator Page and on my remote server I have no access to this
setting I think. Is there another way?
farmazone Guest
-
PaulH **AdobeCommunityExpert** #6
Re: problem with polish letters passing to database
farmazone wrote:
not that i know of, just tell your host you need this.> it via CF Administrator Page and on my remote server I have no access to this
> setting I think. Is there another way?
PaulH **AdobeCommunityExpert** Guest



Reply With Quote

