Ticket #1 (closed defect)

Opened 9 years ago

Last modified 13 months ago

charset tis-620 for Thai

Reported by: korakot@… Owned by: Vaclav Slavik
Priority: normal Milestone:
Component: Version:
Keywords: Cc: korakot@…, vslavik
Platform:

Description

The current version can't understand 'tis-620' charset
which is the Thai standard charset. (ISO8859-11 is still
in draft stage)

(Imported from SourceForge.net tracker item  #458001)

Attachments

tis-620.reg Download (96 bytes) - added by korakot@… 9 years ago.
make windows understand 'tis-620' alias for 'windows-874'

Change History

Changed 9 years ago by Vaclav Slavik

You forgot to specify your platform and OS version. poEdit
uses system libraries for charset conversion and supports
all charsets supported by the system. If you use Linux or
other Unix, the problem can easily be solved by upgrading
your glibc to 2.2 or newer.

This is what my Mandrake Linux reports:

[vasek@wintermute vasek]$ iconv -l | grep -i 620

T.61, TATAR-CYR, TCVN-5712, TCVN, TIS-620, TIS620-0,

TIS620.2529-1,

TIS620.2533-0, TIS620, TS-5881, TSCII-0, TSCII, UCS-2,

UCS-2BE,

UCS-2LE,

[vasek@wintermute vasek]$ rpm -qa | grep glibc
glibc-2.2.2-5mdk
glibc-devel-2.2.2-5mdk

As you can see, TIS-620 is supported by iconv() (and thus by
poEdit). If you have too old libc and can't upgrade to 2.2
for some reason, try using libiconv as LD_PRELOADed library
(see freshmeat.net, search for libiconv). It provides very
good implementation of iconv() and I believe it supports
tis-620 among other charsets.

If you use Windows, then please look into registry
(regedit.exe) and check if there's "tis-620" node in
HKEY_CLASSES_ROOT\MIME\Database\Charset. It isn't present on
my system, but that's understandable because I haven't
installed support for Asian languages together with Internet
Explorer (charset conversion depends on these registry keys
and they're installed by MSIE).

Please let me know your platform details and if you use MSW
whether there are relevant registry entries or not. you may
use my email address directly if you wish: v.slavik@…

Thanks,
Vaclav

Changed 9 years ago by korakot@…

make windows understand 'tis-620' alias for 'windows-874'

Changed 9 years ago by korakot@…

Thanks for your prompt response.
I am using windows98.
So I look into register as you suggest.
tis-620 isn't there. So I copy the information from
iso-8859-11 section to it. Now it works.
poEdit can now display the text in Thai from the kde po-files.

So I make a file ('tis-620.reg') and attach here for others
to use as well. Thanks for your advice.

Now, can you add 'tis-620' to the drop down menu as well?
(now only iso-8859-1 to 15 and utf8 and ... etc. but no tis-620)

Changed 9 years ago by Vaclav Slavik

Thanks for reg modification, I'll put it on poedit web. We
may add charset conversion with iconv.dll to wxWindows, too
(as the name suggests, it is win32 port of libiconv).

As for adding tis-620 to drop-down menu -- I won't. If I did
that, I'd have to add _all_ charsets there, which would
render it completely unusable. Instead, I will make the
combobox remember last N encodings entered by user (in
addition to iso8859-X ones). In practice this means you will
once enter tis-620 manually and from then on, it will appear
in dropdown menu. Is this ok? It will appear in 1.1.4, not
1.1.3 which is already packaged and I'm uploading it right now.

Changed 9 years ago by Vaclav Slavik

Just released 1.1.4 has "intelligent" charset combobox.

Add/Change #1 (charset tis-620 for Thai)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.