Skip to content

Commit 3e1d814

Browse files
committed
fix: set NLS_LANG in RAC container env for proper charset handling
Without NLS_LANG, sqlplus defaults to US7ASCII client charset in the RAC containers, corrupting multi-byte characters (NCHAR/NCLOB) at INSERT time. gvenzl Oracle images bake NLS_LANG into the image env, but Oracle's official RAC image does not.
1 parent f1a3472 commit 3e1d814

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

oracle-rac/DEPLOY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ podman create -t -i \
308308
--device=/dev/asm-disk1:/dev/asm-disk1 \
309309
--device=/dev/asm-disk2:/dev/asm-disk2 \
310310
-e CRS_ASM_DEVICE_LIST=/dev/asm-disk1,/dev/asm-disk2 \
311+
-e NLS_LANG=AMERICAN_AMERICA.AL32UTF8 \
311312
-e OP_TYPE=setuprac \
312313
--restart=always --ulimit rtprio=99 --systemd=always \
313314
--name racnodep1 \
@@ -349,6 +350,7 @@ podman create -t -i \
349350
--device=/dev/asm-disk1:/dev/asm-disk1 \
350351
--device=/dev/asm-disk2:/dev/asm-disk2 \
351352
-e CRS_ASM_DEVICE_LIST=/dev/asm-disk1,/dev/asm-disk2 \
353+
-e NLS_LANG=AMERICAN_AMERICA.AL32UTF8 \
352354
-e OP_TYPE=setuprac \
353355
--restart=always --ulimit rtprio=99 --systemd=always \
354356
--name racnodep2 \

0 commit comments

Comments
 (0)