Created attachment 185056 [details] Libre calc auto add/convert tab space to SOH I copy (ctrl + c) some VB code (with tab space in some line) EX: if isnull(ld_menu) or ld_menu = 0 then else select menu_name,menu_ename into :ls_menu_name,:ls_menu_en from sy_menus where menu_id = :ld_menu; if ls_menu_en <> '' then dw_100.object.st_100.text = ls_menu_name dw_100.object.st_101.text = ls_menu_en end if end if then open Libre cacl, dupble click a cell -> paste (ctrl +v). I copy that cell, paste to VB script editor, and the scipt cannot run. For check, i paste to Notepad++, and found some special charater (SOH) cause the problem. Please refer the picture. Please help me to check this. Thanks and best regards.
Cannot help why this happens, but how to fix it in basic-ide: →Edit→Search&replace: search for ( i typed <ctrl><shift>u1 ) replace with <tab>
https://en.wikipedia.org/wiki/C0_and_C1_control_codes#SOH Bibisected with linux-64-6.2 to fb32f28a2b7f0c33533592b855ead127b858040c avoid using EditEngine in ScEditUtils::GetString() if possible I pasted to Notepad++ in a Windows VM for testing to see the SOH chars. I made my own piece of text with tabs at the beginning of lines.