https://bugs.documentfoundation.org/show_bug.cgi?id=150567

خالد حسني <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #15 from خالد حسني <[email protected]> ---
(In reply to Mike Kaganski from comment #14)
> (In reply to خالد حسني from comment #6)
> > (In reply to Mike Kaganski from comment #5)
> > > Do the files show OK in the system file manager?
> > 
> > So it is a LibreOffice issue after all. I think this and bug 145758 should
> > be duplicates of bug 125995.
> 
> bug 125995 looks very relevant; but being not very familiar with Linux
> system locale and encoding, I feel is a bit different.
> 
> In bug 125995, Jan-Marek likely used a system with a different locale, and
> explicitly set locale to C when starting LibreOffice. That likely made
> *encoding* used by LibreOffice different from what was used elsewhere in the
> system.
> 
> In this bug (and bug 145758, to which this bug is definitely a duplicate),
> likely C is the *system* locale; and reading the mention of "LANG=C.UTF-8"
> in bug 125995, I wonder what is the system *encoding* used on these systems,
> such that LibreOffice obviously uses ASCII/ISO 8859-1, and other tools use
> UTF-8? Is there a wrong detection of system encoding for Linux?

Both are definitely duplicates.

AFAIK, there is no way to detect locale encoding other than parsing the locale
name, and C locale has traditionally not been a UTF-8 encoding. To fix there
immediate issue, both reporters should use a locale that is explicitly UTF-8,
e.g. en_US.UTF-8 or fa_IR.UTF-8.

*** This bug has been marked as a duplicate of bug 125995 ***

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

Reply via email to