Is there a GtkAda package of the UTF-8 character set?

View: New views
2 Messages — Rating Filter:   Alert me  

Is there a GtkAda package of the UTF-8 character set?

by Rick Duley-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ada.Characters.Latin-1 does not always map to UTF-8, especially when using non-alphanumeric characters.  To use special characters I need the UTF-8 set.
 
All assistance appreciated.
--
Rick Duley
North Perth,
Western Australia
http://rickduley.webs.com
                                     .-_|\
                                    /     \
                              perth *_.-._/
                                         v
aussie : 0409 106 049
o'seas : +61 409 106 049
--------------------------------------------
"Wise men profit more from fools
     than fools from wise men;
for the wise shun the mistakes of fools
      but fools do not imitate
                the successes of the wise."
                   Marcus Cato (234-149 BC)

_______________________________________________
gtkada mailing list
gtkada@...
http://lists.adacore.com/mailman/listinfo/gtkada

Re: Is there a GtkAda package of the UTF-8 character set?

by Dmitry A. Kazakov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 5 Jul 2009 08:10:27 +0800, you wrote:

> Ada.Characters.Latin-1 does not always map to UTF-8, especially when using
> non-alphanumeric characters.  To use special characters I need the UTF-8
> set.

Yes. See Glib.Convert.

If you also want Ada RM-like maps and set, you can use this:

http://www.dmitry-kazakov.de/ada/strings_edit.htm#7

--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
_______________________________________________
gtkada mailing list
gtkada@...
http://lists.adacore.com/mailman/listinfo/gtkada