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

Characters non English

Hi

I have two updatepanels on an asp.net page and when there is a postback from
one updatepanel it changes the non english characters in the other and
displays some crap instead.

Characters non english like áÁñÑnº1ªäÄ*Â

display like

áÁñÑnº1ªäÄà Â

In the web.config file for the project I have the glopalization set to

<globalization fileEncoding="iso-8859-1" requestEncoding="iso-8859-1"
responseEncoding="iso-8859-1" />
Does anyone have any idea to fix this. I've googled this but have not found
any solution yet

Thanks in advance

What about it ?? Bug in vs2005 ???
https://connect.microsoft.com/Visual...dbackID=282229

--
http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.net
http://www.setbb.com/putainformatica...opic.php?p=843
www.trabajobasura.com/solusoft

Feb 14 '08 #1
3 1301
"Alhambra Eidos Kiquenet" <Al*******************@discussions.microsoft.com >
wrote in message news:8E**********************************@microsof t.com...
Hi

I have two updatepanels on an asp.net page and when there is a postback
from
one updatepanel it changes the non english characters in the other and
displays some crap instead.

Characters non english like n1

display like

áÁñÑnº1ªäÄ Â

In the web.config file for the project I have the glopalization set to

<globalization fileEncoding="iso-8859-1" requestEncoding="iso-8859-1"
responseEncoding="iso-8859-1" />


How about simply setting requestEncoding and responseEncoding to "UTF-8".
Also check that your files are actually saved as iso-8859-1. If your files
contain literal text which is 'non-english' consider saving them all as
UTF-8 and changing fileEncoding to "UTF-8" as well.

--
Anthony Jones - MVP ASP/ASP.NET
Feb 14 '08 #2
Hi mister,

by another reason, I cannot change web.config and I have to use ISO-8859-1.

Another solution using iso-8859-1 ?? thanks.

--
http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.net
http://www.setbb.com/putainformatica...opic.php?p=843
www.trabajobasura.com/solusoft

"Anthony Jones" wrote:
"Alhambra Eidos Kiquenet" <Al*******************@discussions.microsoft.com >
wrote in message news:8E**********************************@microsof t.com...
Hi

I have two updatepanels on an asp.net page and when there is a postback
from
one updatepanel it changes the non english characters in the other and
displays some crap instead.

Characters non english like áÁñÑnº1ªäÄ*Â

display like

áÁñÑnº1ªäÄà Â

In the web.config file for the project I have the glopalization set to

<globalization fileEncoding="iso-8859-1" requestEncoding="iso-8859-1"
responseEncoding="iso-8859-1" />


How about simply setting requestEncoding and responseEncoding to "UTF-8".
Also check that your files are actually saved as iso-8859-1. If your files
contain literal text which is 'non-english' consider saving them all as
UTF-8 and changing fileEncoding to "UTF-8" as well.

--
Anthony Jones - MVP ASP/ASP.NET
Feb 14 '08 #3
"Alhambra Eidos Kiquenet" <Al*******************@discussions.microsoft.com >
wrote in message news:4F**********************************@microsof t.com...
Hi mister,

by another reason, I cannot change web.config and I have to use
ISO-8859-1.
>
Another solution using iso-8859-1 ?? thanks.

The first question that comes to mind is why can't the web.config settings
be changed? However...

In that case you must make sure that your files are saved as ISO-8859-1 (or
Windows-1252) which they will be if saves as ANSI on a machine using the
1252 codepage.

You can specify at the page level :-

<%@ Page ... ResponseEncoding="UTF-8" %>

Strictly speaking the AJAX post-backs should be specifying the charset of is
content which will override any global RequestEncoding, however I've never
tested that using a Fiddler trace.
--
Anthony Jones - MVP ASP/ASP.NET
Feb 14 '08 #4

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

Similar topics

3
by: sebb | last post by:
For information, I have windows xp (english edition). When I use special non-english characters (like ...) in my python code, IDLE tells me to add a line like: # -*- coding: cp1252 -*- ...
0
by: Mark Stralka | last post by:
My company's enterprise directory is supposed to store all data fields in English. Before the data standards were implmented, many of the HR systems that fed data into the ED were sending some...
3
by: TeekUS | last post by:
hey ppl, i am currently developing a parsing application my input is a 10MB english text file the parsing works fine however every now and then a non english character appears that messes...
0
by: news.online.de | last post by:
Hello everybody, probably it's a FAQ but I didn't find anything so far concerning my problem, so I am asking here :-) I am facing the following problem: - I have developed a webservice client...
11
by: prats | last post by:
I want to write a GUI application in PYTHON using QT. This application is supposed to take in Japanese characters. I am using PyQt as the wrapper for using QT from python. I am able to take input...
3
by: prajithgg | last post by:
Hi, I am facing some problem while inserting some non English characters to DB2 server from my java application. We are not able to retrieve the same record when searched with the same non English...
4
by: DL | last post by:
Hi, Our school has an application in which : - Teachers enter comments through a web interface built in asp (not asp.net). - Comments are stored in a SQL server 2000 (in a nText field) -...
1
by: JoeyMP | last post by:
Hello, I can successfully copy Chinese and other non-English characters form web pages and paste them into Microsoft Word 2003. However, when I attempt to paste them into "Value" fields in my...
2
by: Flying Kite | last post by:
Hi All, I want to know how to print chinese characters on Zebra Printer, following code working fine with English string, but it's not working for Chinese string. It shows ASCII characters instead...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...

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.