473,586 Members | 2,682 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 internationalis ation 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=FirstT ext
Control2=Second Text

... and for accent
Control3=Déconn exion

--> é 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&#2 33;connexion" ... it's strange !

If someone can help me...
thanks a lot
fabrice
Jan 20 '06 #1
1 1967
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******@spa m-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 internationalis ation 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=FirstT ext
Control2=Second Text

.. and for accent
Control3=Déconn exion

--> é 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;#2 33;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
14877
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 correctly. Yet, when I try to get the value in my php code (mysql_query() ... ), what I get is totally different for the three lasts characters.
3
3956
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 NT/Linux Servers. After exporting the database with phpMyAdmin I tried to import it to a Linux server with the mysql>source file.sql command via a ssh...
3
1362
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 along with the project it is used in, so the problem is obviously something I am doing wrong with the references or something. My current code registers...
1
2292
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 response.redirects to the same page. Because I hate the overhead by doing this I'm searching for a cleaner option. But I'm having troubles (off course or I...
11
26816
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 follows: private void SubmitButton_Click (object sender, System.EventArgs e) { // Set up the response to write the print file to the client...
0
1757
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 .TXT file with Keys/Values
0
3206
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. I guess there's a problem with displaying the extended ascii characters in Internet Explorer, some applications seem to have no problem with it...
0
3394
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); I get the following error - doesn't matter if I try it local from my machine or from a remote machine. (After the Errormessage is more text ;))
3
1539
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
7912
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7839
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8338
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7959
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6614
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3837
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1449
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.