From f9c1bc876a597f2a26145a558a4ec8da092346b1 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Mon, 25 Nov 2024 16:32:53 +0000 Subject: [PATCH] fix(nc-gui): add encoding option in csv import --- .../nc-gui/extensions/data-exporter/index.vue | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/packages/nc-gui/extensions/data-exporter/index.vue b/packages/nc-gui/extensions/data-exporter/index.vue index 75512ed83d..c383b4a8dd 100644 --- a/packages/nc-gui/extensions/data-exporter/index.vue +++ b/packages/nc-gui/extensions/data-exporter/index.vue @@ -26,6 +26,20 @@ const delimiters = [ }, ] +const encodings = [ + { label: 'ASCII', value: 'ascii' }, + { label: 'UTF-8', value: 'utf8' }, + { label: 'UTF-8 with hyphen', value: 'utf-8' }, + { label: 'UTF-16 LE', value: 'utf16le' }, + { label: 'UCS-2', value: 'ucs2' }, + { label: 'UCS-2 with hyphen', value: 'ucs-2' }, + { label: 'Base64', value: 'base64' }, + { label: 'Base64 URL', value: 'base64url' }, + { label: 'Latin-1', value: 'latin1' }, + { label: 'Binary', value: 'binary' }, + { label: 'Hexadecimal', value: 'hex' }, +] + const { $api, $poller } = useNuxtApp() const { appInfo } = useGlobal() @@ -398,7 +412,7 @@ onMounted(async () => {
-
Separator
+
Separator