Hello!
Given an array of chars such as
char array[] = "Umlauts öäü"
(that is definitely able to handle those special characters) a
conversion to string returns in getting ripped of the special characters
öäü. Obviously, this is something I don't wanna see happen, but
otherwise, I don't even have a clue on how to avoid it.
Any help urgently required ;-)
best regards / Gruß
Moritz Beller
--
web http://www.4momo.de
mail momo dot beller at t-online dot de
gpgkey http://gpg.notlong.com 1 2217
"Moritz Beller" <mo************ *****@t-online.de> wrote... Given an array of chars such as char array[] = "Umlauts öäü" (that is definitely able to handle those special characters) a conversion to string returns in getting ripped of the special characters oau. Obviously, this is something I don't wanna see happen, but otherwise, I don't even have a clue on how to avoid it.
Any help urgently required ;-)
String literals cannot contain "extended" characters directly. You
need to put them there in the form of the universal-character-name
or an escape sequence. For example, the u-umlaut has Unicode code
00FC, so you'd probably put it there using \u00fc. Your literal
should become
"Umlauts \u00f6\u00e4\u0 0fc"
(I couldn't test this on my system, though). I bet those things are
platform-specific.
V This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Tobias |
last post by:
Hi!
I had Apache 2.0.47 and PHP 4.3.0 DEV running successfully on a W2k
Server. For some reason, I couldn't get PHP to read XML-Attributes
with the DOM XML -functions. So I thought, it would be time to update
PHP to a newer version.
So I simply replaces the old php-files with the new ones and of course
kept the php.ini. But now, PHP doesn't work anymore. As soon as I
request a page with php code, I get a "document contains no data"...
|
by: Markus Weber |
last post by:
Hi,
we use htmlMimeMail-2.5.1 (http://www.phpguru.org/mime.mail.html) to send
mails.
If I send an e-mail with the subject
"Das Öl - Öl Öl - Ö Ä Ü ß - test test" I will receive an e-mail with the
subject
"Das Öl - ÖlÖl - ÖÄÜß - test test". Some spaces have been removed.
|
by: Bjoern Obermeyer |
last post by:
Hi,
I would like to use a regular expression like "\\w+" to extract the
values "red" "green" and "blue" from the expression "red;green;blue".
That works fine just until a german umlaut like "ü" is in the
expression.
Is there a possibility to make the java.util.regex.Matcher work
properly with german umlauts? I read something about encoding in the
documentation - perhaps I did not try out the right option...
|
by: Joerg Lehmann |
last post by:
I am using Python 2.2.3 (Fedora Core 1). The problem is, that strings containing
umlauts do not work as I would expect. Here is my example:
>>> a = 'äöü'
>>> b = '123'
>>> print "%-5s %-5s\n%-5s %-5s" % (a,a,b,b)
äöü äöü
123 123
I would expect, that the displayed width of a or b is the same: 5 characters.
|
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 containing umlauts, or in the Python console, or when
writing to files umlauts are escaped:
Python 2.3.4 (#53, May 25 2004, 21:17:02) on
win32
Type "help", "copyright", "credits" or "license" for more information.
| |
by: jose.jeria |
last post by:
I use the following to convert uppercase to lowercase:
translate($queryString, 'ABCDE...', 'abcde...')
But how can i convert the case for umlauts? öåä etc
|
by: peter pilsl |
last post by:
postgres 7.3.2
I store unicode-data in postgresql. The data is retrieved via webinterfaces,
processed with perl and then stored in postgresql (and viceversa).
All is going nice with one problem. If performing a "select * order by
field"-query the result is not what I expected.
German umlauts (ie: Ö) are stored as doublechars ("Ö" is "Ö") and only the
first char seems to be taken into account when sorting.
|
by: Roberto Rocco |
last post by:
Hello,
I'm using VS 2005 and I need to send a mail body which contains german
umlauts (ä,ö,ü).
When I receive the mail in Outlook 2003 (english operating system) I always
get a '|' or other similar symbols instead of the expected umlaut.
I'm using Sstem.Net.Mail and I already tried something like this:
string body = "this is some sample äöüÄÖÜß HTML text";
|
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
clients:
+ On a windows machine running thunderbird 1.0.2 umlauts are displayed
properly.
The email header contains "Content-type: text/plain; charset=utf-8"
|
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...
|
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,...
| |
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |