ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0006754 | Part 01: TTCN-3 Core Language | New Feature | public | 29-04-2014 09:02 | 06-01-2015 18:06

Reporter | Gyorgy Rethy |
Assigned To | Gyorgy Rethy |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v4.6.1 (published 2014-06) |
Target Version | v4.7.1 (published 2015-06) | Fixed in Version | v4.7.1 (published 2015-06) |
Clause Reference(s) | new cluae C.5.X
Source (company - Author) | L.M.Ericsson

Summary | 0006754: Predefined function to identify unicode string encoding automatically

Description

Predifend function decode_unichar requires to identify the encoding type in the parameter string_encoding. However, the initial octet sequence (BOMs) -if included - may identify the type of the encoding, in which case it could be identified automatically in TTCN-3.
We propose to add the predefined function
get_stringencoding(in octetstring encoded_value) return charstring
to the standard.
It will return one of the string_encoding values, defined in clause C.5.4 or "<unknown>" if the type of encoding could not been identified.
Note, that except the BOMs, any other secure methods can be used to identify the type of the string's encoding.

Steps To Reproduce |
Additional Information |
Tags | No tags attached.

Relationships

has duplicate | 0006755 | closed | Gyorgy Rethy | Predefined function to remove BOMs from universal charstring

Attached Files

CR6754_resolution_v1.docx (20,191) 19-06-2014 13:04
http://oldforge.etsi.org/mantis/file_download.php?file_id=3057&type=bug
CR6754_resolution_v2.docx (27,933) 08-10-2014 15:41
http://oldforge.etsi.org/mantis/file_download.php?file_id=3117&type=bug
CR6754_resolution_v3.docx (28,347) 09-10-2014 15:08
http://oldforge.etsi.org/mantis/file_download.php?file_id=3130&type=bug
CR6754_resolution_v4.docx (29,206) 09-10-2014 16:33
http://oldforge.etsi.org/mantis/file_download.php?file_id=3135&type=bug

Issue History
Date Modified | Username | Field | Change
29-04-2014 09:02 | Gyorgy Rethy | New Issue |
13-06-2014 15:41 | Gyorgy Rethy | Product Version | => v4.6.1 (published 2014-06)
13-06-2014 15:41 | Gyorgy Rethy | Target Version | => v4.7.1 (published 2015-06)
17-06-2014 11:52 | Gyorgy Rethy | Assigned To | => Axel Rennoch
17-06-2014 11:52 | Gyorgy Rethy | Status | new => assigned
19-06-2014 13:04 | Axel Rennoch | File Added: CR6754_resolution_v1.docx |
19-06-2014 13:05 | Axel Rennoch | Assigned To | Axel Rennoch => Gyorgy Rethy
19-06-2014 13:05 | Axel Rennoch | Note Added: 0012143 |
19-06-2014 13:05 | Axel Rennoch | Status | assigned => confirmed
08-10-2014 15:23 | Gyorgy Rethy | Relationship added | has duplicate 0006755
08-10-2014 15:41 | Gyorgy Rethy | File Added: CR6754_resolution_v2.docx |
08-10-2014 15:42 | Gyorgy Rethy | Note Added: 0012286 |
08-10-2014 15:42 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Axel Rennoch
08-10-2014 16:25 | Axel Rennoch | Note Added: 0012298 |
08-10-2014 16:26 | Axel Rennoch | Assigned To | Axel Rennoch => Gyorgy Rethy
08-10-2014 16:26 | Axel Rennoch | Status | confirmed => assigned
08-10-2014 16:26 | Axel Rennoch | Status | assigned => confirmed
09-10-2014 15:08 | Gyorgy Rethy | File Added: CR6754_resolution_v3.docx |
09-10-2014 15:14 | Gyorgy Rethy | Note Added: 0012326 |
09-10-2014 15:14 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Axel Rennoch
09-10-2014 16:31 | Axel Rennoch | File Added: CR6704_v4.docx |
09-10-2014 16:32 | Axel Rennoch | Note Added: 0012334 |
09-10-2014 16:33 | Axel Rennoch | File Deleted: CR6704_v4.docx |
09-10-2014 16:33 | Axel Rennoch | File Added: CR6754_resolution_v4.docx |
09-10-2014 16:34 | Axel Rennoch | Status | confirmed => resolved
09-10-2014 16:34 | Axel Rennoch | Resolution | open => fixed
13-10-2014 09:40 | Gyorgy Rethy | Assigned To | Axel Rennoch => Gyorgy Rethy
06-01-2015 18:06 | Gyorgy Rethy | Note Added: 0012647 |
06-01-2015 18:06 | Gyorgy Rethy | Status | resolved => closed
06-01-2015 18:06 | Gyorgy Rethy | Fixed in Version | => v4.7.1 (published 2015-06)

Notes

(0012143)
Axel Rennoch
19-06-2014 13:05

iinitial text proposal for comments

(0012286)
Gyorgy Rethy
08-10-2014 15:42

In CR6754_resolution_v2.docx: merged with CR6755 (remove_bom function is also included into this file). Please review the changes.

(0012298)
Axel Rennoch
08-10-2014 16:25

new sections are fine. we may add the explanation/abbreviation for BOM?

(0012326)
Gyorgy Rethy
09-10-2014 15:14

It's a good idea. I have added BOM to the abbreviations. I have also a problem with ISO 10646 wording, it is unclear when an FEFF sequence is a signature and when not, why not?...; so I rather used the term "FEFF ZERO WIDTH NO-BREAK SPACE" in the text, this at least used consistently in ISO 10646.
Updated version is in CR6754_resolution_v3.docx. please review. If OK, from my side it can be set to resolved.

(0012334)
Axel Rennoch
09-10-2014 16:32

adjusting wording of title of table and column

(0012647)
Gyorgy Rethy
06-01-2015 18:06

Added to draft V4.6.3