Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: zurt on November 19, 2007, 05:20:59 PM

Title: unicode or utf-8 reader for Amiga ?
Post by: zurt on November 19, 2007, 05:20:59 PM
Hello

Does exist a Unicode (or UTF-x) text viewer for AmigaOS/MorphOS?

TIA. zurt
Title: Re: unicode or utf-8 reader for Amiga ?
Post by: AmigaMance on November 20, 2007, 01:45:33 AM
 I wish there is..
 The MOS version of APDF can handle UniCode PDFs correctly.
Title: Re: unicode or utf-8 reader for Amiga ?
Post by: buzz on November 20, 2007, 02:38:41 AM
If the text is utf-8 but contains characters which are available in latin1 encoding, then you could convert it and read on any amiga editor for example.

For other character sets which the amiga has support for, it should also be possible. I believe you can use koi8 on amiga with suitable font for russian for example.

Something like iconv can convert from/to various encodings.

http://aminet.net/package/dev/lib/libiconv-1.9.2-bin-m68k

I guess it wouldn't be that hard to code a simple text viewer using http://aminet.net/package/util/libs/ttengine-68k and a free unicode truetype font.
Title: Re: unicode or utf-8 reader for Amiga ?
Post by: zurt on November 20, 2007, 05:34:00 PM
Thank you AmigaMance and for your responses.

As buzz says, it would not be very difficult to build an application capable of analyse a text file and determine if it is Unicode (Little or Big Endian, depending on the 16#w#fffe or feff header), UTF-x or just ANSI text. After that it should look up for the correct glyph within a full Unicode font (Arial Unicode, for example) and render it inside a window...

TTEngine should be capable of doing this job. It worths a look  at its documentation. :)

Cheers

zurt
Title: Re: unicode or utf-8 reader for Amiga ?
Post by: TetiSoft on November 26, 2007, 10:19:16 AM
The AmigaOS4 TypeManager sample text display window is
able to display text encoded in UTF-7|8|16|32.
Title: Re: unicode or utf-8 reader for Amiga ?
Post by: Gilloo on October 22, 2008, 02:43:12 PM
Quote

zurt wrote:
Hello

Does exist a Unicode (or UTF-x) text viewer for AmigaOS/MorphOS?

TIA. zurt


Now yes!
http://aminet.net/package/dev/c/UReader

It works with
TTengine.library + a unicode ttf font.
or
Ucode.library + Glyphs (see ucode.lha + glyphs on aminet).
Title: Re: unicode or utf-8 reader for Amiga ?
Post by: Piru on October 22, 2008, 03:32:56 PM
@zurt
Quote
Does exist a Unicode (or UTF-x) text viewer for AmigaOS/MorphOS?

MorphOS 2.x+ Multiview does unicode.
Title: Re: unicode or utf-8 reader for Amiga ?
Post by: Gilloo on October 22, 2008, 03:48:02 PM
Hi Piru
Quote
MorphOS 2.x+ Multiview does unicode.

AmigaOS + what you want doesn't :-D
Title: Re: unicode or utf-8 reader for Amiga ?
Post by: AmigaMance on October 23, 2008, 03:07:48 PM
Quote

Gilloo wrote:
Quote

zurt wrote:
Hello

Does exist a Unicode (or UTF-x) text viewer for AmigaOS/MorphOS?

TIA. zurt


Now yes!
http://aminet.net/package/dev/c/UReader

It works with
TTengine.library + a unicode ttf font.
or
Ucode.library + Glyphs (see ucode.lha + glyphs on aminet).


 AT LAST!!!  :-)  I hope that there will be more in the future.
 I wonder if it's possible to download a unicode page with AWeb or IBrowse and pass it in UReader to be able to read it. That would be cool.