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

Umlauts from PERL script on FreeBSD dropped by C# web service

BGU
Hi, We wrote a Web service to put some information from forms on our
Web site into a SQL database. It works great. The only problem is that
when Germans visit our site and enter a name like "Dürkheim," the entry
shows up in our SQL table as "Drkheim."

I've verified that SQL (on the back end) and Apache/PERL (on the front end)
all support the extended ASCII characters. That leaves the C# web service
(or the interaction between it and the PERL script running on FreeBSD).

As you can see from the capture of the conversation between PERL/FreeBSD and
C#/IIS below, the "ü" shows up on the wire as 0xfc. Does anyone know
whether C# (Windows 2000) should deal correctly with that encoding, or how
to fix the problem? We are using SOAP::Lite on the PERL side.

Thanks,
BGU

0x0380 7269 6e67 222f 3e3c 4669 7273 745f 4e61 ring"/><First_Na
0x0390 6d65 2078 7369 3a74 7970 653d 2278 7364 me.xsi:type="xsd
0x03a0 3a73 7472 696e 6722 3e4a 6f65 fc3c 2f46 :string">Joeü</F
0x03b0 6972 7374 5f4e 616d 653e 3c46 6f72 6d5f irst_Name><Form_
Nov 23 '05 #1
1 1512
BGU
I found a solution here,

http://cookbook.soaplite.com/

in the "Internationalization and encoding" section.

FYI,
BGU

"BGU" <pr*@va.te> wrote in message
news:uS**************@TK2MSFTNGP15.phx.gbl...
Hi, We wrote a Web service to put some information from forms on
our Web site into a SQL database. It works great. The only problem is
that when Germans visit our site and enter a name like "Dürkheim," the
entry shows up in our SQL table as "Drkheim."

I've verified that SQL (on the back end) and Apache/PERL (on the front
end) all support the extended ASCII characters. That leaves the C# web
service (or the interaction between it and the PERL script running on
FreeBSD).

As you can see from the capture of the conversation between PERL/FreeBSD
and C#/IIS below, the "ü" shows up on the wire as 0xfc. Does anyone know
whether C# (Windows 2000) should deal correctly with that encoding, or how
to fix the problem? We are using SOAP::Lite on the PERL side.

Thanks,
BGU

0x0380 7269 6e67 222f 3e3c 4669 7273 745f 4e61 ring"/><First_Na
0x0390 6d65 2078 7369 3a74 7970 653d 2278 7364 me.xsi:type="xsd
0x03a0 3a73 7472 696e 6722 3e4a 6f65 fc3c 2f46 :string">Joeü</F
0x03b0 6972 7374 5f4e 616d 653e 3c46 6f72 6d5f irst_Name><Form_

Nov 23 '05 #2

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

Similar topics

0
by: Mike van Lammeren | last post by:
Hello! I am totally stuck on this problem. I have a web service written in Perl, which uses Frontier::RPC2, and runs on MS IIS 4. I can access the web service using a client written in either...
5
by: F. GEIGER | last post by:
I'm on WinXP, Python 2.3. I don't have problems with umlauts (ä, ö, ü and their uppercase instances) in my wxPython-GUIs, when displayed as static texts. But when filling controls with text...
0
by: Kirt Loki Dankmyer | last post by:
So, I download the latest "stable" tar for perl (5.8.7) and try to compile it on the Solaris 8 (SPARC) box that I administrate. I try all sorts of different switches, but I can't get it to compile....
2
by: ANarula | last post by:
I am running into a strange problem. I have perl script which reads the "APPDATA" environment variable, and does some work on that directory. When I a launch this script from Command Prompt, it...
4
by: Patricia Mindanao | last post by:
I want to call cgi perl scripts on my web hosters server from my HTML web pages (on the the web hosters server too). It occurs sometimes (especially during development phase) that these cgi-perl...
1
by: roadbai | last post by:
Hi all, This is the first time to post question here, hopefully experts of perl here can give me a hand, to be honest, I am kind of new to perl, and I am struggling with the "Out of memory" issue I...
0
by: Nico Grubert | last post by:
Hi there, I wrote a short python script that sends an email using python's email module and I am using Python 2.3.5. The problem is, that umlauts are not displayed properly in some email...
10
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration...
82
by: happyse27 | last post by:
Hi All, I modified the user registration script, but not sure how to make it check for each variable in terms of preventing junk registration and invalid characters? Two codes below : a)...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
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,...
0
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...

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.