_wcsupr () with german characters

Discussion in 'C++' started by Ajey, Mar 30, 2005.

  1. Ajey

    Ajey Guest

    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
     
    Ajey, Mar 30, 2005
    #1
    1. Advertising

  2. Ajey

    Ron Natalie Guest

    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.
     
    Ron Natalie, Mar 30, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Zsolt
    Replies:
    6
    Views:
    4,631
    Jon A. Cruz
    Feb 8, 2004
  2. Navin Mishra
    Replies:
    2
    Views:
    438
    Joerg Jooss
    Feb 27, 2007
  3. Replies:
    8
    Views:
    775
    Jussi Salmela
    Mar 4, 2007
  4. Dirk Einecke
    Replies:
    8
    Views:
    221
    Dirk Einecke
    Apr 12, 2004
  5. steve_f

    transforming german characters

    steve_f, Aug 6, 2004, in forum: Perl Misc
    Replies:
    7
    Views:
    453
    steve_f
    Aug 9, 2004
Loading...

Share This Page