Since a longer time, I am having trouble with a database on a server.
I always get wrong results with queries regarding german Umlaute and other special characters.
- NLS-characterset is always WE8MSWIN1252
- NLS_NCHAR_CHARACTERSET is AL16UTF16
This applies to V$NLS_PARAMETERS, DATABASE_PARAMETERS. SESSION and INSTANCE_PARAMETERS do not return information about chractersets
Using Oracle SQL Developer (on a client computer), a typical select on a table with names returns for instance a ‘" ’(right double quote) instead of an ‘ö’ (german umlaut oe.
or now nothing helped …
… setting the encoding parameter in oracledb (which is a python modul)
… Using a computed column in my select CONVERT(name_col, ‘WE8MSWIN1252’). At least changing the parameter can change the garbage returned. Mostly, the ‘ö’ results in an inverted question mark
What can I do? Where is my mistake?