473,834 Members | 2,148 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Euro ( ? ) turns up "?"

Kim
Inserting a record through sql (asp, msaccess textfield), inserting the euro
sign "?" shows up like a questionmark "?" in the output.

I have <%@ LANGUAGE="VBSCR IPT" CodePage=28591 LCID=2077 %at the top of the
page where the insert statement is but still the euro sign is inserted like
something else (by looking at the data in the access database the euro sign
looks like a little square "€")

Whats wrong? Kim
Jan 5 '07 #1
4 4996
Kim wrote:
Inserting a record through sql (asp, msaccess textfield), inserting
the euro sign "?" shows up like a questionmark "?" in the output.

I have <%@ LANGUAGE="VBSCR IPT" CodePage=28591 LCID=2077 %at the top
of the page where the insert statement is but still the euro sign is
inserted like something else (by looking at the data in the access
database the euro sign looks like a little square "€")
Do you mean it is not getting into MS Access as a €, or when it is rendered
by the browser?

If the latter, you should use Server.HTMLEnco de():

Response.Write( Server.HTMLEnco de("€")) --€

The browser correctly renders it and submits it as € in form elements.


--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Jan 5 '07 #2

"Kim" <ki*@hgnmail.co mwrote in message
news:eZ******** ******@TK2MSFTN GP04.phx.gbl...
Inserting a record through sql (asp, msaccess textfield), inserting the
euro
sign "?" shows up like a questionmark "?" in the output.

I have <%@ LANGUAGE="VBSCR IPT" CodePage=28591 LCID=2077 %at the top of
the
page where the insert statement is but still the euro sign is inserted
like
something else (by looking at the data in the access database the euro
sign
looks like a little square "€")

Whats wrong? Kim

Strictly speaking the Euro symbol is not in the ISO-8859-1 codepage. (Which
is why in Dave's example Server.HTMLEnco de uses a unicode entity to
represent it).

Use CodePage=1252 and ensure that the source page (where the form is
rendered) includes the code:-

Response.Codepa ge = "Windows-1252"

Jan 5 '07 #3
Kim
Changing the codepage seems to work. Thanks a million times for your
answers. Kim.
Jan 6 '07 #4

"Anthony Jones" <An*@yadayadaya da.comwrote in message
news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
>
"Kim" <ki*@hgnmail.co mwrote in message
news:eZ******** ******@TK2MSFTN GP04.phx.gbl...
Inserting a record through sql (asp, msaccess textfield), inserting the
euro
sign "?" shows up like a questionmark "?" in the output.

I have <%@ LANGUAGE="VBSCR IPT" CodePage=28591 LCID=2077 %at the top of
the
page where the insert statement is but still the euro sign is inserted
like
something else (by looking at the data in the access database the euro
sign
looks like a little square "€")

Whats wrong? Kim

Strictly speaking the Euro symbol is not in the ISO-8859-1 codepage.
(Which
is why in Dave's example Server.HTMLEnco de uses a unicode entity to
represent it).

Use CodePage=1252 and ensure that the source page (where the form is
rendered) includes the code:-

Response.Codepa ge = "Windows-1252"
Oops that should be Response.CharSe t
Jan 6 '07 #5

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

Similar topics

4
25951
by: Robert Zierhofer | last post by:
hi there, it seems as if i can´t convert the euro and pound sign to their html equivalents. i tried eregi_replace("€", "&euro;", $haystack); eregi_replace("£", "&pound;", $haystack); as well as
5
6763
by: Lars | last post by:
Why doesn't the W3C's HTML Validator recognize &euro; and what do I have to do to make my html-file valid?
11
12813
by: MH | last post by:
Thai may have been asked before but I'm new here.... How can I put the Euro symbol, ? using alt0128 in my page and get it validated as HTML 4.01 ? -------------- MH
18
6533
by: gabriel | last post by:
greetings, I am currently working on a website where I need to print the Euro symbol and some "oe" like in "oeuvre". If I choose this : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" > <html
2
4639
by: tilmann | last post by:
We are using ASCII-Tablespaces with the Codepage 819 on z/OS. We're now having a problem with the EURO symbol. The data is inserted from a Windows-Client, running Codepage 1252. The Euro symbol is not part of the Codepage 819 which leads to a converting of the Euro Symbol to hex(1A) in the Database. On the Client, hex(1A) is returned which is different from the send hex(80). Is there any other codepage which is similar to Codepage 819, but...
5
7072
by: SalamElias | last post by:
I followed instructions in MSDN help articles and wrotethe folowing code in order to display numeric numbers with Euro symbol as follows : ---------------------------- Dim OutString As = "" Dim frCulture As New CultureInfo("fr-FR", False) Thread.CurrentThread.CurrentCulture = frCulture Dim myCurrency As New (123456) myCurrency.ToString("C", LocalFormat) OutString = "Euro : " + myCurrency.ToString("C", NumberFormatInfo.CurrentInfo)
8
3676
by: Max | last post by:
My client has decided to use the Euro for the entire web site. Is there an easy way to get my ASP.NET app to format currency to Euro instead of US-dollar? Right now it's just reading the server settings, but I'd rather set this say at start up in the global.asax since other web sites running on the server may not share this setting. -Max
7
3327
by: kingski | last post by:
Any idea about this ? http://www.developerfusion.co.uk/forums/thread/114379/#114379 "Can any one help me as i am building a shopping cart and it supports multiple currencies but while sending confirmation mail o customer it does not show euro sign before amount he paid but it is showing a queston mark over there. It is working fine with Dollar sign and Pound Sign but this Euro is creating problem. " thanks.
7
10640
by: Robertu | last post by:
Hi at all I'ld want inserrt into my emails body the ? euro symbol therefore I wrote the header of my emails like : $headers="From: $mail_from\n\r"; $headers.='X-Mailer: PHP/' . phpversion()."\r\n"; $headers.="MIME-Version: 1.0\r\n"; $headers.= "Content-Type: text/html; charset=utf-8\r\n"; $headers.="Content-Transfer-Encoding: 8bit\r\n\r\n";
0
9796
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
9643
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10786
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...
1
10544
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,...
1
7754
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6951
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5624
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...
2
3973
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3079
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.