Current location: Hot Scripts Forums » Programming Languages » ASP.NET » asp.net resource file


asp.net resource file

Reply
  #1 (permalink)  
Old 03-04-10, 08:25 PM
Dwagar's Avatar
Dwagar Dwagar is offline
Newbie Coder
 
Join Date: Sep 2008
Location: Ohio
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
asp.net resource file

Hello,

I have some resource files and I am using bn.net. The spanish, french and english works perfectly fine but russian on the other hand shows all "?" marks on the page.

What I did is have the translation done in a text file then I used resgen and generated the resource file. I changed the following line in the web.config file

<globalization fileEncoding="KOI8-R" requestEncoding="KOI8-R" responseEncoding="KOI8-R" />

I also tried windows-1251 nd that did not work neither, same result. When I do utf-8 I get boxes so get different results with the different encoding but can't get the russian characters to display. When I open the russian text file in notepad++ I see the russian characters fine there.

Anyone have any idea's for something I may be missing or doing wrong?

Thanks in advanced.
__________________
SepCity Portal Solutions
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 08-05-10, 09:59 AM
Yeronimo Yeronimo is offline
Newbie Coder
 
Join Date: Aug 2010
Location: Nijmegen, Netherlands
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Hi,

It should be UTF-8.

Then also check your font names. If your encoding was wrong you would get Question marks (????). The squares you get when the font isnt right for what you are trying to put on the screen. Easiest way to test is to try and leave out any font tag/css.

/Yeroon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What script do I need for ths project? (Upload images script?) stevef22 PHP 2 10-30-09 06:25 PM
Hello all, can you help me? K4ot1K Other Languages 2 01-23-09 06:23 AM
Trying to use .js file for dropdownlist autocomplete in ASP.NET application bubberz JavaScript 1 08-25-05 05:53 PM
Resource file cursos problem... tim8w Visual Basic 2 01-03-05 10:21 AM


All times are GMT -5. The time now is 06:36 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.