473,799 Members | 2,941 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Displaying Special Symbols

Hi

Is there any way to show the special symbols[CopyRight, Cents] in a TextBox.

Thanks in Advance
Gibs
Nov 18 '05 #1
3 2075
Gibs,

Have you tried using symbols in the Character Map? I haven't tried this, but I don't see why it won't work.

Start > All Programs > Accessories > System Tools > Character Map

Select your symbol, then copy it into your text box text.

Eric

"Gibs" <do*********@ya hoo.com> wrote in message news:O4******** *****@tk2msftng p13.phx.gbl...
Hi

Is there any way to show the special symbols[CopyRight, Cents] in a TextBox.

Thanks in Advance
Gibs
Nov 18 '05 #2
HtmlEncode them.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Gibs" <do*********@ya hoo.com> wrote in message
news:O4******** *****@tk2msftng p13.phx.gbl...
Hi

Is there any way to show the special symbols[CopyRight, Cents] in a TextBox.

Thanks in Advance
Gibs
Nov 18 '05 #3
Hey Gibs,

You can look up the entities here:

http://www.htmlhelp.com/reference/ht...es/latin1.html

and try this code:
<%@ Page Language="VB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<script runat="server">

Sub Page_Load _
(ByVal sender As Object, _
ByVal e As System.EventArg s)
TextBox1.Text = _
Server.HtmlDeco de("&cent;&copy ; 2004")
End Sub
</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitl ed Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:textbox id="TextBox1" runat="server"> </asp:textbox>

</div>
</form>
</body>
</html>

"Gibs" <do*********@ya hoo.com> wrote in message
news:O4******** *****@tk2msftng p13.phx.gbl...
Hi

Is there any way to show the special symbols[CopyRight, Cents] in a TextBox.

Thanks in Advance
Gibs

Nov 18 '05 #4

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

Similar topics

68
4383
by: Marco Bubke | last post by:
Hi I have read some mail on the dev mailing list about PEP 318 and find the new Syntax really ugly. def foo(x, y): pass I call this foo(1, 2), this isn't really intuitive to me! Also I don't like the brackets.
0
2349
by: Jeff Seale | last post by:
I'm writing a stock quote retrieval program (using the Finance::Quote module) that takes up to ten ticker symbols and displays the company name, price, volume, etc. for each. A row of headers is displayed before the data. For some reason, only the headers are being displayed after the ticker symbols are input. I'm chomping the STDIN after the entries are made. The ticker symbols are entered into an array. I'm using the same scalars...
3
6520
by: Jens Kristensen | last post by:
I have a problem displaying a divbox containing a html-textarea - everything works fine with "normal" characters. However, when the textarea contains special chars like <P> or ' , the box fails to show: function show(divbox) { divbox.style.display=''; } <div id="divbox" style="display:none" >
3
2378
by: ATH0 | last post by:
How to search for special character { } and how to count them.. I got field called text ( undefined length ) and in this field you must define "{" as start and "}" as end of some text line. If you can find both {} then you have to count them. example: bla bla bla {bla { asd asd} Result:
4
5266
by: Ewok | last post by:
let me just say. it's not by choice but im dealing with a .net web app (top down approach with VB and a MySQL database) sigh..... Anyhow, I've just about got all the kinks worked out but I am having trouble preserving data as it gets entered into the database. Primarily, quotes and special characters. Spcifically, I noticed it stripped out some double quotes and a "Registered" symbol &reg; (not the ascii but the actual character"
1
1618
by: Andrew Dabrowski | last post by:
I'm working on a simple Python program, with Tkinter, and I need to display the math symbols for set union and intersection, in unicode \N{N-ARY UNION} and \N{N-ARY INTERSECTION}. Everything was displaying correctly (when I ran the program) until I changed my OS distribution from SuSE to Ubuntu. Now those two symbols are not being displayed. I'm not getting any error messages, there are simply blank spaces where the symbols should be. Any...
1
1905
by: dabrowsa | last post by:
I'm working on a simple Python program, with Tkinter, and I need to display the math symbols for set union and interesection, in unicode \N{N-ARY UNION} and \N{N-ARY INTERSECTION}. Everything was displaying correctly (when I ran the program) until I changed my OS distribution from SuSE to Ubuntu. Now those two symbols are not being displayed. I'm not getting any error messages, there are simply blank spaces where the symbols should be. Any ideas...
3
1277
by: =?Utf-8?B?UmljaA==?= | last post by:
I copied a down arrow triangle symbol from the character map and added this symbol to a menu Item on a menustrip on a form in my app. On saving the project a dialogbox asked if I wanted to convert/save to unicode - or something like that. I clicked yes and then deployed the app (using Click Once). On a user's workstation I noticed that this triangle symbol was not displaying and in its place was a little empty sqare (indicating the...
0
9686
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10475
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10250
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10222
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9068
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5463
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5585
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3757
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2938
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.