Hello, i'm trying to save accented chars (èòàèì) to an Oracle DB in a VARCHAR2 field; i've put
<html>
<head>
<meta http-equiv="Content-type" value="text/html; charset=utf-8">
</head>
<body>
<?php
header('Content-type: text/html; charset=utf-8');
.... //and here i make the insert into the DB:
$str=utf8_encode("JeanPièrre"); // or $str="JeanPièrre" ... is the same, it does not run
$sql="insert into TABLE(nvar) values('".$str."')";
$stmt = oci_parse($ora_conn, $sql) or die(oci_error().$query);
oci_execute($stmt);
But accented character is not saved correctly , i see JeanPi??rre
What can i do? Pls help me :-(
Thanks in advance ! c.