473,597 Members | 2,459 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Euro Symbol and ASCII-Tablespace

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
includes the Euro Symbol which can be used for the tablespaces?

Nov 12 '05 #1
2 4621
tilmann wrote:
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
includes the Euro Symbol which can be used for the tablespaces?


Not really sure here, but perhaps 2byte unicode?
Codepages among OSes and DB2 suck :/ (if your using 2 clients with
different codepages)
Isn't it possible on z/OS to define the tablespace as latin? thus using
the same codepage as windows does?

-R-
Nov 12 '05 #2
tilmann wrote:
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
includes the Euro Symbol which can be used for the tablespaces?

I would go for UTF-8 (unicode).
Plain ASCII (below X'80') takes just 1 byte in UTF-8

--
Anton Versteeg
IBM Netherlands
Nov 12 '05 #3

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

Similar topics

2
10563
by: VK | last post by:
Hello All I am writing a string from the database into a text file which contains "Euro" symbol . I have tried using iconv() and utf_encode and mb_convert_encoding() functions to convert the string to Unicode but the text file created has just a square box in place of the Euro symbol. Can anybody help me in this matter ? Thanks in advance VK
4
25919
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("€", "€", $haystack); eregi_replace("£", "£", $haystack); as well as
1
3850
by: Kevin | last post by:
Hi, I want to check that a string entered via a from contains the only cdertain characters including the Euro currency symbol using a reg exp in PHP. I've set my web page to use charset=iso-8859-15 and tried $allowed = ""; if ( ereg( $allowed, $str) )
7
2076
by: flm | last post by:
I've got an XML document that contains euro signs and looks like : <?xml version="1.0" encoding="utf-8"?> <merchant id="52"> <product offerid="03543068131" deliverycost="6,90 €" /> ....
11
12794
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
6498
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
5
7049
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
3669
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
4
2164
by: rphil | last post by:
I have a problem, I want to enter euro sign (€) into a textbox.. but after the postback, it is displayed as '?' .Can anybody help me with this issue. Thx
7
10615
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
7971
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
7893
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
8276
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
8040
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
5436
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
3932
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2408
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1495
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1243
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.