Skip to content

[YottaDB/DB/YDB#850] Fix UTF-8 object compilation when LC_ALL=C

Like YottaDB (which sets LC_CTYPE and unsets LC_ALL) or our various plugins (which search for the first UTF-8 locale and set it), we need to appropriately set the locale to be a UTF-8 locale otherwise, if the outer shell has an LC_ALL=C, we get this error message.

%YDB-E-NONUTF8LOCALE, Locale has character encoding (ANSI_X3.4-1968) which is not compatible with UTF-8 character set

We didn't see this message before, because UTF-8 compilation didn't actually work due to a syntax error which was just fixed in the previous commit 6b766793.

Edited by Sam Habiel

Merge request reports