Click here to Skip to main content
16,020,822 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I have a ASP page.I am fetching data from database.In the database the character are all Russian.But when I fetch that data to show in the webpage it render as '?' marks.


HTML
oCommBM.Parameters.Append oCommBM.CreateParameter("@menu", adVarChar, adParamOutput,2000, "0")



I am passing the parameter like that.If instead of adVarChar I used aVarWCahr then it's showing the Russian character but the below contained not render properly.

I checked by execute store procedure from database.There it's showing fine. Also I add below 2 lines in the asp page.


VB
Response.codePage = 65001
Response.Charset = "UTF-8"



I changed every possible encoding type from asp page code as well as from Notepad++ encoding type.

Any suggestion is greatly appreciated.Thanks in advance.
Posted

1 solution

Refer to this link it might be helpful to some extent in this regard.

Globalization and localization demystified in ASP.NET 2.0[^]

Go Global: Designing Your ASP-based Web Site to Support Globalization[^]

Regards.. :laugh:
 
Share this answer
 
v2
Comments
IpsitaMishra 10-Jul-13 3:25am    
Thanks for your answer but I am using classic asp here not the Asp.net.
Thanks7872 10-Jul-13 3:32am    
Refer to updated answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900