Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem showing characters

598381Dec 12 2007 — edited Jan 30 2008
Hi everyone

Im testing this script through my Oracle Express database but for some reason it doesnt show the letters å ä ö for some words in my combo box. I checked the nfs_lang in regedit and it was set to SWEDISH_SWEDEN.WE8MSWIN1252.

Do i need to add somethng in the select statement in the script so it will show those character ?


Here is the code:

<?php
$db_conn = oci_connect("test", "test", "//localhost/XE");
$cmdstr = "select FIN_PHRASE from FIN_PHRASE Order by FIN_PHRASE";
$parsed = ociparse($db_conn, $cmdstr);
ociexecute($parsed);

while ($row = oci_fetch_assoc ($parsed)) {
echo '<option>' . $row['FIN_PHRASE'] . '</option>';
}
?>




// Jan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 27 2008
Added on Dec 12 2007
8 comments
3,429 views