_wcsupr () with german characters

A

Ajey

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
 
R

Ron Natalie

Ajey said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top