Welcome, Guest. Please login or register.

Author Topic: unicode or utf-8 reader for Amiga ?  (Read 2631 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline zurtTopic starter

  • Full Member
  • ***
  • Join Date: Feb 2002
  • Posts: 114
  • Country: kp
    • Show only replies by zurt
unicode or utf-8 reader for Amiga ?
« on: November 19, 2007, 05:20:59 PM »
Hello

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

TIA. zurt
zurt

AmigaOS user since 1989
MorphOS user since 2003
 

Offline AmigaMance

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
Re: unicode or utf-8 reader for Amiga ?
« Reply #1 on: November 20, 2007, 01:45:33 AM »
 I wish there is..
 The MOS version of APDF can handle UniCode PDFs correctly.
A1200 PPC user.
 

Offline buzz

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 612
    • Show only replies by buzz
Re: unicode or utf-8 reader for Amiga ?
« Reply #2 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.
 

Offline zurtTopic starter

  • Full Member
  • ***
  • Join Date: Feb 2002
  • Posts: 114
  • Country: kp
    • Show only replies by zurt
Re: unicode or utf-8 reader for Amiga ?
« Reply #3 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
zurt

AmigaOS user since 1989
MorphOS user since 2003
 

Offline TetiSoft

  • Newbie
  • *
  • Join Date: Nov 2007
  • Posts: 19
    • Show only replies by TetiSoft
Re: unicode or utf-8 reader for Amiga ?
« Reply #4 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.
 

Offline Gilloo

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 124
    • Show only replies by Gilloo
Re: unicode or utf-8 reader for Amiga ?
« Reply #5 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).
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: unicode or utf-8 reader for Amiga ?
« Reply #6 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.
 

Offline Gilloo

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 124
    • Show only replies by Gilloo
Re: unicode or utf-8 reader for Amiga ?
« Reply #7 on: October 22, 2008, 03:48:02 PM »
Hi Piru
Quote
MorphOS 2.x+ Multiview does unicode.

AmigaOS + what you want doesn't :-D
 

Offline AmigaMance

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
Re: unicode or utf-8 reader for Amiga ?
« Reply #8 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.
A1200 PPC user.