Check if the Database is Unicode or Non-Unicode

Written by

in

, ,

In Oracle 19c, a database is Unicode if its database character set (NLS_CHARACTERSET) is set to a Unicode encoding—most commonly AL32UTF8 (the standard variable-width UTF-8 encoding in Oracle) or UTF8.

If it is set to character sets like WE8MSWIN1252, WE8ISO8859P15, US7ASCII, or ZHS16GBK, it is non-Unicode.

Connect to SQL*Plus or your SQL client as any user with data dictionary access and run:

SELECT parameter, value 
FROM nls_database_parameters 
WHERE parameter IN ('NLS_CHARACTERSET', 'NLS_NCHAR_CHARACTERSET');

Alternatively:

SELECT property_name, property_value 
FROM database_properties 
WHERE property_name LIKE '%CHARACTERSET%';