From 1fb8daffaac2988c7a9d02870348bd1f3b4cb3f3 Mon Sep 17 00:00:00 2001 From: Michael Buckley Date: Fri, 5 Jan 2018 16:11:52 -0500 Subject: [PATCH] Fix encoding in apex-to-file We're using utf8 --- scripts/file-to-apex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/file-to-apex b/scripts/file-to-apex index 4b0bb09..00f94b5 100755 --- a/scripts/file-to-apex +++ b/scripts/file-to-apex @@ -2,6 +2,9 @@ script_folder=$(dirname "${0}") "${script_folder}"/check_conf_file.sh || exit 1 source config/asc.conf || exit 1 +NLS_LANG=.AL32UTF8 +export NLS_LANG + if [ -z "${app_alias}" ]; then #call install_apex with an empty app_alias string (will ask for user input otherwise) sqlplus "${username}"/"${password}"@"${database_connection}" @"${script_folder}"/install_apex.sql "${apexappid}" "${workspace_name}" "${parsing_schema}" '' || exit 1