By pinehuang - Tue Sep 07, 2010 9:39 pm
- Tue Sep 07, 2010 9:39 pm
#9516
Dear all
I use ProcessMaker-1.2-2985-windows version, when i stored some data into a oracle database, there is a problem, the chinese caharators became unknow charators in oracle database,
the following is the code of the trigger.
# insert info to orcale
$db = '4965515134c7b62cf504524047463965';
$caseid=@@APPLICATION;
$subject=str_replace("'","''",@@issueSubject);
$result = executeQuery("insert into PM_CaseInfo (Caseid,Subject) values('$caseid','$subject') ", $db);
for example, if $subject is "7777777中国", but in database it became "7777777涓浗浜烘皯"
i guess it's of encoding problem,
how can i set up to insert chinese charactors into Oracle?
by the way, the orcale charset is simplified-chinese
thanks very much
Pine
I use ProcessMaker-1.2-2985-windows version, when i stored some data into a oracle database, there is a problem, the chinese caharators became unknow charators in oracle database,
the following is the code of the trigger.
# insert info to orcale
$db = '4965515134c7b62cf504524047463965';
$caseid=@@APPLICATION;
$subject=str_replace("'","''",@@issueSubject);
$result = executeQuery("insert into PM_CaseInfo (Caseid,Subject) values('$caseid','$subject') ", $db);
for example, if $subject is "7777777中国", but in database it became "7777777涓浗浜烘皯"
i guess it's of encoding problem,
how can i set up to insert chinese charactors into Oracle?
by the way, the orcale charset is simplified-chinese
thanks very much
Pine