Hmm, something may have happened downstream.

In upstream Moodle 1.5, there is no th_utf8, just "th" and yes, the charset is TIS-620.

http://cvs.sourceforge.net/viewcvs.py/moodle/lang/th_utf8/moodle.php?rev=1.1.1.4&view=auto



On 10/04/06, Jeroen Vermeulen <[EMAIL PROTECTED]> wrote:
Package: moodle
Version: 1.4.4.dfsg.1-3sarge1
Severity: important


The Thai language pack is installed as th_utf8, but apart from the name,
it still seems to be entirely in TIS-620 encoding (which is also reflected
by the 'thischarset' setting).

AFAICS this is likely to lead to widespread data corruption that is very
hard to correct afterwards.  Thai data entered by users or administrators
who have their UI set to "th_utf8" will be stored in TIS-620, whereas
the same data entered from a UI set to, say, en_utf8 will be in UTF-8.
The two classes of users will not even be able to read each other's
(non-ASCII) data.

In principle it should be possible to figure out whether most strings
in the database are in UTF-8 or not, so it's not unthinkable that a way
can be found to recover from (most of) the resulting data corruption.  If
that is the case, it is not technically data loss and that's why I'm not
submitting this bug as "grave."  It should be noted, however, that the
upstream developers have been working on this problem for years and last
I heard, had not cracked it yet.  It's a really hard problem.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages moodle depends on:
ii  apache2-mpm-prefork [httpd]  2.0.54-5    traditional model for Apache2
ii  debconf [debconf-2.0]        1.4.50      Debian configuration management sy
ii  mimetex                       1.50-1      LaTeX math expressions to anti-ali
ii  php4                         4:4.3.10-16 server-side, HTML-embedded scripti
ii  php4-gd                      4:4.3.10-16 GD module for php4
ii  php4-mysql                   4: 4.3.10-16 MySQL module for php4
ii  php4-pgsql                   3:4.3.10-4  PostgreSQL module for php4
ii  wget                         1.9.1-12    retrieves files from the web
ii  wwwconfig-common             0.0.43       Debian web auto configuration

-- debconf information excluded





--
/// Moodle - open-source software for collaborative learning
///
/// Free software, community, information: http://moodle.org
/// Commercial support and other services: http://moodle.com

Reply via email to