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

problem with regional characters

I would like to display on the cell phone my regional characters (polish
characters). The best way to do this is to use entity, but the mobile
control do HtmlEncode and converts "&" sign to "&amp". For example:

- if i do lblTest.Text = "&#x104", the resoult is: Ą

So this way is wrong. Is there any way using moblie controls to display
national characters in cell phone.

thans for your help.
Jack
Nov 18 '05 #1
2 1172


Jacek Stepniewski wrote:
I would like to display on the cell phone my regional characters (polish
characters). The best way to do this is to use entity, but the mobile
control do HtmlEncode and converts "&" sign to "&amp". For example:

- if i do lblTest.Text = "&#x104", the resoult is: Ą

So this way is wrong. Is there any way using moblie controls to display
national characters in cell phone.


Label.Text doesn't take HTML so that way it can't work. However you can
encode your pages as UTF-8 and then simply set the Text to the right
character. At least that would work with HTML, I don't know about cell
phones/mobile controls.
--

Martin Honnen
http://JavaScript.FAQTs.com/

Nov 18 '05 #2
> Jacek Stepniewski wrote:
I would like to display on the cell phone my regional characters (polish
characters). The best way to do this is to use entity, but the mobile
control do HtmlEncode and converts "&" sign to "&amp". For example:

- if i do lblTest.Text = "&#x104", the resoult is: Ą

So this way is wrong. Is there any way using moblie controls to display
national characters in cell phone.


Label.Text doesn't take HTML so that way it can't work. However you can
encode your pages as UTF-8 and then simply set the Text to the right
character. At least that would work with HTML, I don't know about cell
phones/mobile controls.


It's the problem, that this simple method with UTF-8 doesn't work...

Any more ideas?

Jack
Nov 18 '05 #3

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

Similar topics

3
by: Salgoud Dell | last post by:
I have a VB6 application running on a French computer using Windows ME. The app doesn't work the same way as it does when running on an English Windows OS. The main issue I have, that I can't...
4
by: Matt | last post by:
Hi there, I'm having a weird situation when converting strings to double. Normally, the following code would work right? double MyDouble = double.Parse("20.50"); // Error at runtime Well,...
11
by: LucaJonny | last post by:
Hi, I've got a problem using StreamReader in VB.NET. I try to read a txt file that contains extended characters and theese are removed from the line that is being read. I've read a lot of...
7
by: Fred Flintstone | last post by:
I'm writing a VB.Net windows forms application. This line of code: Personal.EffectiveDate = GridRow2.Cells("New Value").Value.ToString.Trim Fails with this error: Cast from string...
3
by: venu | last post by:
Hi, I have a different requirement and it is : I need to validate a phone number field. It may or may not be a US phone number. The constraints are : *********************** # It should...
1
by: Luis Lanuza | last post by:
Hi all, I can't get Visual Studio 2003 to recognize my WindowsXP SP2 regional settings. For ex: On Control Panel / Regional Settings / Regional Options Tab, my standadrs and formats corresponds...
5
by: iulian.ilea | last post by:
Is correct to have a varchar field and insert dates of type dd/mm/yyyy into it? I choose this method because I have an application that runs on more than one server. So, if I used a datetime field...
16
by: Mik | last post by:
I apologise if this post seems a little basic, but I am a newbie and have NO access knowledge. I have downloaded the Accounts Ledger from the Microsoft Website. It allows the user to review a...
6
by: avcitamer | last post by:
We upgraded our system and problem below occured, pleas help me... Windows 2003 server SP1 When I set a decimal DB field value to "123,32" (using ADODB.recordset ) updated value was ok (123.32)...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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
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...

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.