convert between utf8 and we8mswin1252 not work correctly
hi,
while debugging some application i've wondering about the SQL convert function. So i do some tests with german umlauts.
*1. Test with ü* (in UTF8 = 0xc3bc = 50108 , in Win-1252 = 0xFC = 252 ) :
select ascii(convert(chr(50108),'WE8MSWIN1252','UTF8')) from dual;
Result = 252
==> Everthing is OK. That's what i suggested.
*2. Test with ä* (in UTF8 = 0xc3a4 = 50084 , in Win-1252 = 0xE4 = 228 ) :
select ascii(convert(chr(50084),'WE8MSWIN1252','UTF8')) from dual;
Result = 0
==> What's this? I suggested 228 ?!?!?!
I've tested this on two Oracle-Server (lokal 10.2.0.2 with UTF8 and apex.oracle.com) with the same result.
Can anyone explain this behavior?