Solved

OCIResult and Spanish characters

Posted on 2001-08-14
4
357 Views
Last Modified: 2006-11-17
I have a particular problem with Oracle9i running on  SUSE Linux 7.2 with Apache and PHP 4.0.6

The problem concerns Spanish national characters, that  is whenever I try to get a result of a SELECT
statement  by  means of PHP Oci functions (OCIResult)  in  stead  of  some characters I get question marks (?) and also accents are always stripped. The same doesn't happened if I access the database from outside the linux machine.
0
Comment
Question by:mfloryan
4 Comments
 
LVL 40

Expert Comment

by:Richard Quadling
ID: 6383792
Is the browser mis-drawing them. Do you need to set the language for the browser?
0
 

Author Comment

by:mfloryan
ID: 6383925
OK. The problem is NOT in the browser the problem was in the linux server. The NLS_LANG variable was not correctly set for the apache server environment. Now everything works well, but another problems arise. However they concern PHP itself.
0
 
LVL 5

Expert Comment

by:LornaJane
ID: 9571567
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
deleted and the points refunded
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

LornaJane
EE Cleanup Volunteer
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 9619947
PAQed, with points refunded (50)

Computer101
E-E Admin
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to count in a table in php 22 34
Checking CSRF token within a function 36 74
tutorial for ebay api 3 32
How do I fix this UPDATE error? 7 20
Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question