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

aspx display romanian diacritics

I'm trying to display a text from a database, text that contains
Romanian diacritics (aîst) in a aspx page. The text has been
inserted in the database using a asp application with a HTML editor
with this setting: content-type="text/html; charset=iso-8859-2"

I have failed to do this. I've tried using all the possible settings
that I know: setting content-type or charset in web.config ->
globalization, from IIS -> HTTP Headers, from @page
responseEncoding=".., from C# code, using Response.ContentType or
Response.AddHeader or <META> using only one setting at a time or even
combining 2-3 settings..

The only combination that did worked, it was: setting <globalization
responseEncoding="unicode"> and in the same time, in IIS-HTTP Headers:
content-type: ="text/html; charset=iso-8859-2".
The problem is, that in this case, although the text is displayed
correctly (with diacritics) when I try to view the Page Source the text
has a space between every character, and a new empty line between every
two lines. Another problem would be that I would like to change this
settings dynamically, to match my text encoding (I want to use the same
page for different languages) In this case, the setting from the IIS ->
HTTP Headers would not help.

I have even tried to create a empty aspx page with some text with
diacritics from my keyboard, not from the database, but I failed to
display them correctly also.

Can anyone help? Thanks

Mar 23 '06 #1
0 1117

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

Similar topics

1
by: James | last post by:
I have an application that I have sold to a few institutions and one installation in particular is giving me a real headache. Its a PHP application that draws data from either Oracle or MySQL -...
1
by: | last post by:
How knows this? Is it allowed using encoded diacritics, e.g. &ouml; &eacute; in an XML-file? When I open such XML-file with IE or Mozilla, they both say it's an error, but it seems its not...
1
by: Robert | last post by:
Display html pages within an aspx page I would like to display HTML pages within an aspx page.An example might be: I have an aspx page with a menu on the left side and by clicking on one of the...
2
by: WJ | last post by:
I have three ASPX pages: 1. "WebForm1.aspx" is interactive, responsible for calling a web site (https://www.payMe.com) with $$$. It is working fine. 2. "WebForm2.aspx" is non-interactive, a...
1
by: george.miscalencu | last post by:
I'm trying to display a text from a database, text that contains Romanian diacritics (aîst) in a aspx page. The text has been inserted in the database using a asp application with a HTML editor...
1
by: =?Utf-8?B?THluZGE=?= | last post by:
In my web application, I am using two different CSS based on media. In my Print CSS, I can suppress button, header and ad objects using "Display: None;". However, I need to print an object that...
1
by: =?Utf-8?B?THluZGE=?= | last post by:
In my web app, I have two CSS - one for display and one for print. A small copywrite statement needs to print, but does not display on the ASPX page. The ID of the copywrite statement has DISPLAY:...
3
by: =?Utf-8?B?U2hlcm1hbiBLQg==?= | last post by:
I have an application developed using IIS 5, and the 2.14 version of the .net framework and SQL 2005. When deployed to two different servers, the pages all display properly when using the address...
5
by: hmkaddoura | last post by:
hi.. any one knows how to color Diacritics differently from the text in RichTextBox.. am able to do so in word application but not RichTextBox... Thanks.. Regards, HK
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
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,...
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
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 project—planning, 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.