473,386 Members | 1,841 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,386 software developers and data experts.

Problem with globalization

Hi, I have a site that has some text in spanish and it doesn't display well,
for example with a ñ it displays some weird boxes, can anyone help me or
point me to some help
Nov 17 '05 #1
3 1421
Have you tried setting it to use unicode?
Here's more info on the subject:
http://msdn.microsoft.com/library/de...gbasetypes.asp

Also, have you checked the Globalization section of the web.config?
Try changing it to something more like this:

<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
<globalization
fileEncoding="iso-8859-1"
requestEncoding="iso-8859-1"
responseEncoding="iso-8859-1"
/>
</system.web>
</configuration>

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
"Xavier MT" <xm*****@hotmail.com> wrote in message
news:O5**************@TK2MSFTNGP11.phx.gbl...
Hi, I have a site that has some text in spanish and it doesn't display well, for example with a ñ it displays some weird boxes, can anyone help me or
point me to some help

Nov 17 '05 #2
Just one thing, I've tried some things but my problem is that my strings are
in a .js and it's when they are written page that it doesn't work.

BTW thanks for the help, I'll keep on trying...

"Steve C. Orr, MCSD" <St***@Orr.net> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
Have you tried setting it to use unicode?
Here's more info on the subject:
http://msdn.microsoft.com/library/de...gbasetypes.asp
Also, have you checked the Globalization section of the web.config?
Try changing it to something more like this:

<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
<globalization
fileEncoding="iso-8859-1"
requestEncoding="iso-8859-1"
responseEncoding="iso-8859-1"
/>
</system.web>
</configuration>

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
"Xavier MT" <xm*****@hotmail.com> wrote in message
news:O5**************@TK2MSFTNGP11.phx.gbl...
Hi, I have a site that has some text in spanish and it doesn't display

well,
for example with a ñ it displays some weird boxes, can anyone help me or
point me to some help


Nov 17 '05 #3
You can always use HTML entities, for example ñ is ñ or &ntilde;. You
need to make sure your page encoding is right and you're using font that has
the characters you're trying to display.

Jerry

"Xavier MT" <xm*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Just one thing, I've tried some things but my problem is that my strings are in a .js and it's when they are written page that it doesn't work.

BTW thanks for the help, I'll keep on trying...

"Steve C. Orr, MCSD" <St***@Orr.net> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
Have you tried setting it to use unicode?
Here's more info on the subject:

http://msdn.microsoft.com/library/de...gbasetypes.asp

Also, have you checked the Globalization section of the web.config?
Try changing it to something more like this:

<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
<globalization
fileEncoding="iso-8859-1"
requestEncoding="iso-8859-1"
responseEncoding="iso-8859-1"
/>
</system.web>
</configuration>

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
"Xavier MT" <xm*****@hotmail.com> wrote in message
news:O5**************@TK2MSFTNGP11.phx.gbl...
Hi, I have a site that has some text in spanish and it doesn't display

well,
for example with a ñ it displays some weird boxes, can anyone help me or point me to some help



Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Willie wjb | last post by:
Hi, i have a client program that sends a filter expression to the server PC. On that server PC this filter is put over a datatable and the result is send back. the server can be located on a...
3
by: Kris van der Mast | last post by:
Hi, I've created a little site for my sports club. In the root folder there are pages that are viewable by every anonymous user but at a certain subfolder my administration pages should be...
1
by: May | last post by:
Hi all ! I run a ASP.NET page in Japanese Operation System (Windows XP Pro). My Page is saved with the "shift_jis" encoding. And my global settings (from Web.config) is as below. ...
13
by: dotnettester | last post by:
Hi, I have a simple page which reads date from a datetime column in database. Date stored in the database is in 'mmddyyy' format ('7/27/2005 07:30:00 AM') but the asp.net displays it as...
8
by: Ondrej Srubar | last post by:
Hello, in the Web.config I have <globalization requestEncoding="utf-8" responseEncoding="utf-8" />, but for one page I need to set the requestEncoding="windows-1250". If I use <%@Page...
11
by: Cor Ligthert | last post by:
Hello everybody, Jay and Herfried are telling me every time when I use CDate that using the datetime.parseexact is always the best way to do String to datetime conversions. They don't tell why...
3
by: Kevin Hodgson | last post by:
I'm trying to import from a text file into a Sql DB, but I'm getting hung up on a date field. My text file has the date in the dd/mm/yyyy format. I Cast that field to CDate in VB.NET, which sets...
5
by: darrel | last post by:
I'm trying to take the value of a textbox and titleCase. A recent question posted here by myself sent me to this page: ...
17
by: Terry Olsen | last post by:
Given that variable dt = "3/31/2007", why does it produce the following exception on some machines? It works fine on my PC, but others have sent me this exception information because it threw up on...
4
by: =?Utf-8?B?TGVvbg==?= | last post by:
Hi everybody. I am using streamreader to show spanish .htm page on my website. Unfortunately those spanish characters that have stresses on top (like: Ó,á, ....) do not show correctly. Is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.