473,396 Members | 2,020 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,396 software developers and data experts.

German Umlaute (Resources)

In order to have a mutli-lingual page, I load all .Text, .ToolTip etc from a
resource, if the user does not work with the default-language, like this:

Thread.CurrentThread.CurrentCulture = new CultureInfo(selCulture);
Thread.CurrentThread.CurrentUICulture = new CultureInfo(selCulture);
// overwrite Text items
lblMntlogin.Text = rm.GetString("Mntlogin.Text");
tbxMntlogin.ToolTip = rm.GetString("Mntlogin.ToolTip");
etc..

If I have german umlaute (ä,ö,ü etc) in the Resources Textfile, I found out
that I have to represent them in ansi (&228;,&246;,&252;). This works fine
for the Text Property, but it DOES NOT WORK for the ToolTip !
Does anybody know the rules behind this ?
Thanks
PS: obviousely the best solution would be to just use umlaute as is in the
textfile, without having to use the ansi representation.

Nov 18 '05 #1
1 1707
&228; is for HTML, not for Javascript.

Use UTF-8 instead: look under Advanced Save Options and chose UTF-8 with
signature (Code page 65001). Save your file; close VS.NET and reopen it to
make sure that everything is now OK.

Do the same with your HTML page and always use UTF-8 as the encoding of your
page. Don't forget that even if you set the UTF-8 as the encoding in the
property of your HTML page, the file itself must be also saved on the
hard-drive with UTF-8 encoding.

S. L.

"Carlo Marchesoni" <Ca*************@discussions.microsoft.com> wrote in
message news:EB**********************************@microsof t.com...
In order to have a mutli-lingual page, I load all .Text, .ToolTip etc from
a
resource, if the user does not work with the default-language, like this:

Thread.CurrentThread.CurrentCulture = new CultureInfo(selCulture);
Thread.CurrentThread.CurrentUICulture = new CultureInfo(selCulture);
// overwrite Text items
lblMntlogin.Text = rm.GetString("Mntlogin.Text");
tbxMntlogin.ToolTip = rm.GetString("Mntlogin.ToolTip");
etc..

If I have german umlaute (ä,ö,ü etc) in the Resources Textfile, I found
out
that I have to represent them in ansi (&228;,&246;,&252;). This works fine
for the Text Property, but it DOES NOT WORK for the ToolTip !
Does anybody know the rules behind this ?
Thanks
PS: obviousely the best solution would be to just use umlaute as is in the
textfile, without having to use the ansi representation.

Nov 18 '05 #2

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

Similar topics

13
by: Robert Zierhofer | last post by:
Hi all, I currently face a problem with htmlentities and german "umlaute". After moving my scripts to a new box (from Linux to FreeBSD) I had to see that htmlentities is not working anymore....
1
by: Jeff | last post by:
Having a problem displaying both german and chinese characters from a UTF-8 database on the same *.jsp page. Can make Chinese characters appear correctly by including the following lines: <%@...
1
by: Eric | last post by:
Hi, Normally I'm developing evertime with the english versions of Win, VS.NET, ..NET etc. But know I have a german Win XP SP1 with IIS 5.1 installed. Anyway I would like to develop with...
1
by: Roland Müller | last post by:
Hello, we have converted our project to framework 2.0 but we have still some problems, one of it with setting the UICulture for a aspx-site. Example: there is a simple aspx test site in a...
0
by: Markus Wollny | last post by:
Hi! Sorry to bother you, but I just don't know how to get tsearch2 configured correctly for my setup. I've got a 7.4.3 database-cluster initdb'ed with de_DE@euro as locale, the database is with...
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...
4
by: George | last post by:
Hi, I am puzzled by the following and seeking some assistance to help me understand what happened. I have very limited encoding knowledge. Our SAP system writes out a text file which includes...
8
by: DierkErdmann | last post by:
Hi ! I know that this topic has been discussed in the past, but I could not find a working solution for my problem: sorting (lists of) strings containing special characters like "ä", "ü",......
12
by: Uwe Braunholz | last post by:
Hello, working on a asp.net Website brought me to a strange problem. I want to enable my users to pass a search string via the query string of an url. It works if the user calls the URL...
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: 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
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
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,...
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.