mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
16 lines
600 B
Markdown
16 lines
600 B
Markdown
|
---
|
||
|
title: What if I have a problem with encodings when using Oracle via ODBC?
|
||
|
toc_hidden: true
|
||
|
sidebar_position: 20
|
||
|
---
|
||
|
|
||
|
# What If I Have a Problem with Encodings When Using Oracle Via ODBC? {#oracle-odbc-encodings}
|
||
|
|
||
|
If you use Oracle as a source of ClickHouse external dictionaries via Oracle ODBC driver, you need to set the correct value for the `NLS_LANG` environment variable in `/etc/default/clickhouse`. For more information, see the [Oracle NLS_LANG FAQ](https://www.oracle.com/technetwork/products/globalization/nls-lang-099431.html).
|
||
|
|
||
|
**Example**
|
||
|
|
||
|
``` sql
|
||
|
NLS_LANG=RUSSIAN_RUSSIA.UTF8
|
||
|
```
|