473,387 Members | 3,820 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Russian characters are showing up as "???"

3
I am reading a record from an Oracle database. The Russian names are showing up as "???"

<%
Response.ContentType = "text/html"
Response.AddHeader "Content-Type", "text/html;charset=UTF-8"
Response.CodePage = 65001
Response.CharSet = "UTF-8"

Dim objConn
Dim rs
Set objConn = Server.CreateObject("ADODB.Connection")

objConn.Open "dsn=orcldsn; uid=admin; pwd=password"

Set rs = Server.CreateObject("ADODB.Recordset")
sqlstr="SELECT e.username, e.fname, e.lname, e.email eemail, m.username, m.email memail FROM tableName e INNER JOIN tableName m ON e.manager_id=m.id WHERE e.username='K5700MAV';"

Set rs = objConn.Execute (sqlstr)

if rs.eof then
response.write "Username does not exist. Please access this link from a course."
response.end
else
rs.MoveFirst
While Not rs.EOF
e_name = Server.URLencode(rs.fields("fname") & " " & rs.fields("lname"))
e_email = rs.fields("eemail")
response.write e_name
rs.MoveNext
Wend
end if
objConn.Close
Set objConn = Nothing
%>
Aug 1 '12 #1

✓ answered by iBar

Enabling the "Force SQL_WCHAR Support" in the Oracle ODBC Driver Configuration fixed the issue.

Thanks

3 3629
iBar
3
Enabling the "Force SQL_WCHAR Support" in the Oracle ODBC Driver Configuration fixed the issue.

Thanks
Aug 1 '12 #2
ariful alam
185 100+
First check at Oracle using query that the Russian characters show perfectly or not. if there those characters not show perfectly, than check the field data type is set to Unicode supported or not. if not fix it. moreover if you used oracle query window to add record, those will also show data like ???. use form/server side web page to insert data.

Hope it works.
Aug 2 '12 #3
iBar
3
Hi Ariful,
Thanks. As mentioned in my previous post, this issue is resolved. I had to enable the "Force SQL_WCHAR Support" for the DSN settings.
Aug 2 '12 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: jaekim | last post by:
Visual .NET c# design view is showing "?????" for all the Korean characters in design view. In code view, it looks okay. Did anybody have this kind of problem with foreign characters?
2
by: Ross Noe via .NET 247 | last post by:
(Type your message here) -------------------------------- From: Ross Noe I created an XML file using ASP that has Russian characters. Forsome reason ASP.Net doesn't read the Russian...
2
by: Victor | last post by:
Could anybody kindly point me to a clue in the following enigma : I have phpMyAdmin - 2.8.2.4 and MySQL - 4.1.13-nt. In the phpMyAdmin opened in any browser I am able to enter and store Russian...
6
by: Victor | last post by:
Hi everybody, could anybody help me with the following problem : I need to set a cookie containing a Russian character string as the value, using the construct "document.cookie = ...". The...
2
by: Victor | last post by:
Hi everybody, could anybody kindly give me a hint for dealing with the following problem : I need to send e-mails from a PHP 5 script running on Windows Apache, containing Russian characters...
1
by: manchin2 | last post by:
Hi, Can anybody please provide the information about "&quot" and its use, if possible please provide an example. ...
2
by: Sushmita | last post by:
Hi All I am trying to read russian characters from xml,while doing so,i have taken care of UTF-8,but still few letters come in form of question marks and square blocks. Please can anyone help...
7
by: Sushmita | last post by:
Hi All I am trying to read russian characters from xml,while doing so,i have taken care of UTF-8,but still few letters come in form of question marks and square blocks. Please can anyone help...
4
by: fran7 | last post by:
Hi, from help in the javascript forum I found the error in some code but need help. This bit of code works perfectly, trouble is I am writing it to a javascript function so the height needs to be in...
1
by: kersti | last post by:
We've just started to work on a Russian website. In the near future we expect to be running with a Japanese one as well. Currently our setup doesn't allow Russian characters - we need to do any...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.