Your message dated Mon, 22 May 2023 21:29:08 +0200
with message-id <[email protected]>
and subject line Exporting then importing text files works with French locales
has caused the Debian Bug report #681188,
regarding scilab: Issue with locales values and import/export text files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
681188: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681188
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: scilab
Version: 5.3.3-10
Severity: normal
Tags: l10n

Hi,

I'm french and my locales are curently :
LANG=fr_FR.UTF-8
LANGUAGE=fr_FR:fr
LC_*=fr_FR.UTF-8
LC_ALL=

When I start scilab with these locales parameters, I read the warning
below : (process:24188): Gtk-WARNING **: Locale not supported by C libr
        Using the fallback 'C' locale.

This warning disappears if I export the LC_ALL variable with
'fr_FR.UTF-8' and the errors messages in Scilab become in french
(cool !).

The problem is with the functions "fscanfMat" and "fprintfMat", which
are supposed to import or export a matrix of floatting numbers. In
Scilab, the decimal separator is the point ( . ) ; but with
LC_ALL='fr_FR.UTF-8', the decimal separators in exported and imported
text files becomes a comma (,), when Scilab's "internal" decimal
separators is still the point...

To summarize : it's impossible to import/export matrix of floatting
numbers with fscanfMat/fprintfMat functions when LC_ALL='fr_FR.UTF-8'
because of the difference between the internal decimal separators of
Scilab and the decimal separator used in text files.

Just to be clear: the system is "coherent", because files exported with
one value of the locale are readable as long as we don't change the
locale value... but it makes exchange of files between peoples who
don't use the same language impossible!

If it isn't perfectly clear or if you need more informations, don't
hesitate to contact with me back.

Best regards,
Eloi



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages scilab depends on:
ii  scilab-cli       5.3.3-10
ii  scilab-full-bin  5.3.3-10

Versions of packages scilab recommends:
ii  scilab-doc  5.3.3-10

Versions of packages scilab suggests:
ii  scilab-doc-fr     5.3.3-10
pn  scilab-doc-ja     <none>
pn  scilab-doc-pt-br  <none>

-- no debconf information




--- End Message ---
--- Begin Message ---
Version: 6.1.1+dfsg2-1

Hello,

The problem you described (11 years ago!) is now fixed, likely it should have been closed before.

Best regards,

--
Pierre

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to