Opened 8 years ago

Closed 8 years ago

#215 closed enhancement (fixed)

String to Universal_String convertion (UTF-8 and UTF-16)

Reported by: Maxim Reznik Owned by: vadim.godunko
Priority: major Milestone: 0.4.0
Component: Matreshka - League Version:
Keywords: Cc:

Description

A lot of Ada API use String type. So convertion String to Universal_String is often required. There is no direct way to convert now.

BTW, backward convertion is supported by League.Text_Codecs.To_Exception_Message.

It would be nice to have such convertion routine.

Change History (9)

comment:1 by vadim.godunko, 8 years ago

Owner: changed from somebody to vadim.godunko
Status: newaccepted
Summary: String to Universal_String convertionString to Universal_String convertion (UTF-8 and UTF-16)

This ticket is to implement subprograms for UTF-8 and UTF-16 string conversions as primitive operations of Universal_String.

comment:2 by vadim.godunko, 8 years ago

Milestone: 0.4.0

comment:3 by vadim.godunko, 8 years ago

In [3120]:

Add subprogram to convert Universal_String into UTF_8_String.

Refs #215.

comment:4 by vadim.godunko, 8 years ago

In [3121]:

Add subprogram to convert Universal_String into UTF16 encoded
Wide_String.

Refs #215.

comment:5 by vadim.godunko, 8 years ago

In [3122]:

Add default values for members of Abstract_Decoder and UTF8_Decoder to
make usable default initialized objects of that types.

Refs #215.

comment:6 by vadim.godunko, 8 years ago

In [3123]:

Add subprogram to convert UTF-8 encoded standard String into
Universal_String.

Refs #215.

comment:7 by vadim.godunko, 8 years ago

In [3125]:

Provide default values for members of UTF16LE_Decoder and
UTF16BE_Decoder to make usable default initialize objects of that type.

Refs #215.

comment:8 by vadim.godunko, 8 years ago

In [3126]:

Add subprogram to convert standard Wide_String in UTF-16 host-ending
encoding into Universal_String.

Refs #215.

comment:9 by vadim.godunko, 8 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.