Re: Inserting Arabic data into Oracle DB
In DATABASE_CONFIG I added the following line
'encoding' => 'UTF8'
and the insertion code is as follows
$this->Activity->query("INSERT INTO TMSACTIVITIES(name, arabic_name)
VALUES('some_name', 'خخخ')");
On Dec 8, 3:42 pm, Ryan Schmidt <google-2...@ryandesign.com> wrote:
> On Dec 8, 2010, at 04:22, osamo101 wrote:
>
> > I am trying to insert Arabic characters into oracle db but i got
> > question marks inserted instead, I mad sure that the db accepts Arabic
> > characters, I created a sample ASP application and it inserted the
> > Arabic characters correctly.
>
> > Can you please help me, I spent more than two days in trying to fix
> > this problem.
>
> Show us the code you're using to try to insert the data.
>
> What character encoding is the data in? What character encoding is the database expecting?
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home