472,353 Members | 1,663 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

_wcsupr () with german characters

Hi,
I have a string which contains some german characters e.g
'Men'. I am converting it to upper case using wcsupr (). But is
not converted to . There are other characters too. I can use the
_wsetlocale () function before using _wcsupr (). I cannot use the
current machines locale setting. The strings have to be converted to
upper case based on the locale of the target
machine which is a SQL Server. What's the most efficient way of
converting the string to upper case considering the language specific
characters. I tried using the _wsetlocale (LC_CTYPE , L".OCP"); which
uses the OEM code page. This seems to be working. What's the difference
in OEM code page and language specific code page?

Thanks in advance

Ajey

Jul 23 '05 #1
1 2429
Ajey wrote:
Hi,
I have a string which contains some german characters e.g
'Men'. I am converting it to upper case using wcsupr (). But is
not converted to . There are other characters too. I can use the
_wsetlocale () function before using _wcsupr ().


All of the functions you mention are microsoft-specific. Try one
of the microsoft groups.
Jul 23 '05 #2

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

Similar topics

1
by: Jeff | last post by:
Having a problem displaying both german and chinese characters from a UTF-8 database on the same *.jsp page. Can make Chinese characters appear...
12
by: Mike Dee | last post by:
A very very basic UTF-8 question that's driving me nuts: If I have this in the beginning of my Python script in Linux: #!/usr/bin/env python #...
0
by: Jean | last post by:
Hi everyone, Can someone help me please? I am using a form which imports a .csv file's data into a temporary table called tblQuestImport_csvraw....
0
by: Markus Wollny | last post by:
Hi! Sorry to bother you, but I just don't know how to get tsearch2 configured correctly for my setup. I've got a 7.4.3 database-cluster initdb'ed...
0
by: news.online.de | last post by:
Hello everybody, probably it's a FAQ but I didn't find anything so far concerning my problem, so I am asking here :-) I am facing the following...
8
by: DierkErdmann | last post by:
Hi ! I know that this topic has been discussed in the past, but I could not find a working solution for my problem: sorting (lists of) strings...
13
by: TK | last post by:
Hi, how can I handle multibyte characters like , (german vowel mutation)? This does't work: switch(c) case '': ... some action
5
by: =?Utf-8?B?UElFQkFMRA==?= | last post by:
Not really a C#-specific comment, more general .net observations. 1) A while back I found the need to determine whether or not a particular...
0
by: rajana | last post by:
Dear All, We have Ansi file with german characters ( / ) , We are using Streamreader to read the contents of the file. But Readline() not...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

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.