[Bug 160970] Problem in command line file conversion with special character

2024-05-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160970

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 CC||stephane.guillou@libreoffic
   ||e.org
 Status|UNCONFIRMED |NEEDINFO
 Ever confirmed|0   |1

--- Comment #2 from Stéphane Guillou (stragu) 
 ---
If using the GUI, the default character set used is "Western Europe
(DOS/OS2-850/International), which results in this error message:

Error saving the document Testlist:
Write Error.
Cell SfxBaseModel::impl_store 
failed: 0x40c03(Error Area:Sc Class:Write Code:3) arg1=C3 arg2=Western
Europe (DOS/OS2-850/International) at /home/tdf/lode/jenkins/workspace/
lo_gerrit/tb/src_master/sfx2/source/doc/sfxbasemodel.cxx:3304 contains
characters that are not representable in the selected target character set "$
(ARG2)".

Resulting file only has one address.

Using the command line, I get in the console:

warn:connectivity.drivers:151848:151848:connectivity/source/drivers/dbase/DTable.cxx:521:
Parsing warning: 0 records claimed, recovering
warn:sc:151848:151848:sc/source/ui/docshell/docsh8.cxx:986:
ScDocShell::DBaseExport com.sun.star.sdbc.SQLException message: "The string
“Antala Staška 2” cannot be converted using the encoding “ibm850”. at
/home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/connectivity/source/commontools/dbtools2.cxx:910"
SQLState: 22018 ErrorCode: 22018
wrapped: 
warn:sc:151848:151848:sc/source/ui/docshell/docsh8.cxx:1045:
ScDocShell::DBaseExport encoding error, string with default replacements:
``Antala Staška 2''
Error: Please verify input parameters... (SfxBaseModel::impl_store
 failed: 0x40c03(Error Area:Sc
Class:Write Code:3) arg1=C3 arg2=Western Europe (DOS/OS2-850/International) at
/home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/sfx2/source/doc/sfxbasemodel.cxx:3304
at
/home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/sfx2/source/doc/sfxbasemodel.cxx:1822)

Same result.

One would need to pick a suitable character set for it, see:
https://help.libreoffice.org/latest/en-US/text/shared/guide/lotusdbasediff.html

For example this works for me, using the encoding "Windows-1250/WinLatin 2
(Central European)":

soffice --headless --convert-to dbf:dBase:33 ./Testlist.xlsx

Does an equivalent command work for you?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160970] Problem in command line file conversion with special character

2024-05-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160970

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Blocks||103266


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=103266
[Bug 103266] [META] Command line bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160970] Problem in command line file conversion with special character

2024-05-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160970

joerg.goer...@mhz.de changed:

   What|Removed |Added

 CC||joerg.goer...@mhz.de

--- Comment #1 from joerg.goer...@mhz.de ---
Created attachment 194012
  --> https://bugs.documentfoundation.org/attachment.cgi?id=194012=edit
Address list as sample

-- 
You are receiving this mail because:
You are the assignee for the bug.