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

Problem with accent in button control server


Hello,

I have encountered a deep problem with accent and I don't understand why.
I m preparing a multi-language website. French and English so far.

With french, we have accents and ... problems ;-)
The internationalisation of my website works like that :

- I have created a resources file for a language (french for example) by
using Resgen Command.
- I read the resources file and get the diffrents texts for my controls :
Label, Button, Image ...
Everything works fine but not Text with accent for button control.

I have replaced accent by code as é by é

Example of a resources file :

Control1=FirstText
Control2=SecondText

... and for accent
Control3=Déconnexion

--> é is going to give the sign é

Result :

I have no problem with label control or literal. The right word is dispayed.
But the same variable for a Button control gives me something wrong!

The text displayed for my button is :

Déconnexion and not the text " déconnexion "

By regarding the HTML source i have :

for the Label Control : Déconnexion (is right and displayed "
déconnexion")
for the input control i have value="Déconnexion" ... it's strange !

If someone can help me...
thanks a lot
fabrice
Jan 20 '06 #1
1 1950
How do you retrieve your data from your source files? Is this ASPNET 1.1 or
2.0?
Do you have some code we can play with?
"Fabrice" <em******@spam-infonie.fr> a écrit dans le message de news:
Oj**************@tk2msftngp13.phx.gbl...

Hello,

I have encountered a deep problem with accent and I don't understand why.
I m preparing a multi-language website. French and English so far.

With french, we have accents and ... problems ;-)
The internationalisation of my website works like that :

- I have created a resources file for a language (french for example) by
using Resgen Command.
- I read the resources file and get the diffrents texts for my controls :
Label, Button, Image ...
Everything works fine but not Text with accent for button control.

I have replaced accent by code as é by é

Example of a resources file :

Control1=FirstText
Control2=SecondText

.. and for accent
Control3=Déconnexion

--> é is going to give the sign é

Result :

I have no problem with label control or literal. The right word is
dispayed. But the same variable for a Button control gives me something
wrong!

The text displayed for my button is :

Déconnexion and not the text " déconnexion "

By regarding the HTML source i have :

for the Label Control : Déconnexion (is right and displayed "
déconnexion")
for the input control i have value="D&amp;#233;connexion" ... it's strange
!

If someone can help me...
thanks a lot
fabrice

Jan 20 '06 #2

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

Similar topics

2
by: JB | last post by:
Hi, I'm having a problem with accent in PHP/HTML. I have a value stored in a table. The value is : é è à ù When I look directly into table via phpmyadmin, the value seems to be stored...
3
by: Daedalus.OS | last post by:
Hi, I've been asked to transfert a database from a webhoster to another. I think the database is on a windows box but I'm not 100% shure. The webhoster says it provides combined hosting on...
3
by: Nathan Sokalski | last post by:
I have a User Control that I created (.ascx & .ascx.vb file pair) that I am trying to put in a separate assembly. I know that the User Control works when it is in the same project and is compiled...
1
by: Kris van der Mast | last post by:
Hi, been a while since I posted a question myself instead of trying to help others out. I'm refactoring an existing web app that uses dynamic loading of user controls and a lot of...
11
by: Russ | last post by:
My web app writes some binary data to a file at the client site via Response.Write and Response.BinaryWrite. This action is accomplished in response to a button click, with C# code behind as...
0
by: Fabrice | last post by:
Hello, (Alain) Tis is a part of my code to retrieve text from hastable in memory cache, by reading (befor) a resources file. Thanks for your help. /1/ The resources file * I have create a...
0
by: Nickneem | last post by:
I'm having trouble getting the output of a (MS SQL server) query in html: ± is displayed as &# 177 ; and -» as - &# 187 ; not to mention the acute accent (é) and other diacritic characters. ...
0
by: Kristian Reukauff | last post by:
Hi I have a problem with the .Net-Securty-Functions. I've got a client and a server. When I try to register a channel at the server with this line: ChannelServices.RegisterChannel(chan, false);...
3
by: Ben | last post by:
I\'ve some problem with accent. I\'m french so some french words: élève fête l\'esprit Is it my server or web-news that have a problem, this poste will confirm this..
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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:
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...

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.