[1003.1(2013)/Issue7+TC1 0001007]: iconv function not allowed to fail to convert valid sequences

2023-03-06 Thread Austin Group Bug Tracker via austin-group-l at The Open Group


The following issue has been set as RELATED TO issue 0001635. 
== 
https://austingroupbugs.net/view.php?id=1007 
== 
Reported By:sebor
Assigned To:ajosey
== 
Project:1003.1(2013)/Issue7+TC1
Issue ID:   1007
Category:   Base Definitions and Headers
Type:   Omission
Severity:   Objection
Priority:   normal
Status: Applied
Name:   Martin Sebor 
Organization:
User Reference:  
Section:iconv function 
Page Number:1109-1110 
Line Number: 
Interp Status:  --- 
Final Accepted Text:https://austingroupbugs.net/view.php?id=1007#c3330 
Resolution: Accepted As Marked
Fixed in Version:   
== 
Date Submitted: 2015-11-16 20:37 UTC
Last Modified:  2022-08-19 15:28 UTC
== 
Summary:iconv function not allowed to fail to convert valid
sequences
==
Relationships   ID  Summary
--
related to  0001635 iconv: please be more explicit in input...
== 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2015-11-16 20:37 sebor  New Issue
2015-11-16 20:37 sebor  Status   New => Under Review 
2015-11-16 20:37 sebor  Assigned To   => ajosey  
2015-11-16 20:37 sebor  Name  => Martin Sebor
2015-11-16 20:37 sebor  Section   => iconv function  
2015-11-16 20:37 sebor  Page Number   => 1109-1110   
2015-11-16 22:38 steffenNote Added: 0002965  
2015-11-17 17:02 geoffclare Project  1003.1(2008)/Issue 7 =>
1003.1(2013)/Issue7+TC1
2015-11-17 21:39 shware_systems Note Added: 0002968  
2015-11-17 21:41 shware_systems Note Edited: 0002968 
2015-11-18 00:03 sebor  Note Added: 0002969  
2016-02-07 11:07 milanbvNote Added: 0003068  
2016-07-28 23:14 shware_systems Note Added: 0003311  
2016-07-28 23:14 shware_systems Note Added: 0003312  
2016-07-29 09:13 geoffclare Note Added: 0003313  
2016-07-29 09:35 shware_systems Note Deleted: 0003312
2016-07-30 13:56 steffenNote Added: 0003314  
2016-08-02 16:09 geoffclare Note Added: 0003323  
2016-08-03 11:45 steffenNote Added: 0003324  
2016-08-04 15:48 Don Cragun Note Added: 0003325  
2016-08-04 20:57 eblake Note Added: 0003327  
2016-08-10 14:58 geoffclare Note Added: 0003330  
2016-08-10 15:02 geoffclare Note Edited: 0003330 
2016-08-11 14:36 shware_systems Note Added: 0003334  
2022-07-25 15:41 geoffclare Interp Status => --- 
2022-07-25 15:41 geoffclare Final Accepted Text   =>
https://austingroupbugs.net/view.php?id=1007#c3330
2022-07-25 15:41 geoffclare Status   Under Review =>
Resolved
2022-07-25 15:41 geoffclare Resolution   Open => Accepted As
Marked
2022-07-25 15:41 geoffclare Tag Attached: issue8 
2022-08-19 15:28 geoffclare Status   Resolved => Applied 
2023-03-06 16:35 nick   Relationship added   related to 0001635  
==




[1003.1(2013)/Issue7+TC1 0001007]: iconv function not allowed to fail to convert valid sequences

2022-08-19 Thread Austin Group Bug Tracker via austin-group-l at The Open Group


The following issue has a resolution that has been APPLIED. 
== 
https://austingroupbugs.net/view.php?id=1007 
== 
Reported By:sebor
Assigned To:ajosey
== 
Project:1003.1(2013)/Issue7+TC1
Issue ID:   1007
Category:   Base Definitions and Headers
Type:   Omission
Severity:   Objection
Priority:   normal
Status: Applied
Name:   Martin Sebor 
Organization:
User Reference:  
Section:iconv function 
Page Number:1109-1110 
Line Number: 
Interp Status:  --- 
Final Accepted Text:https://austingroupbugs.net/view.php?id=1007#c3330 
Resolution: Accepted As Marked
Fixed in Version:   
== 
Date Submitted: 2015-11-16 20:37 UTC
Last Modified:  2022-08-19 15:28 UTC
== 
Summary:iconv function not allowed to fail to convert valid
sequences
== 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2015-11-16 20:37 sebor  New Issue
2015-11-16 20:37 sebor  Status   New => Under Review 
2015-11-16 20:37 sebor  Assigned To   => ajosey  
2015-11-16 20:37 sebor  Name  => Martin Sebor
2015-11-16 20:37 sebor  Section   => iconv function  
2015-11-16 20:37 sebor  Page Number   => 1109-1110   
2015-11-16 22:38 steffenNote Added: 0002965  
2015-11-17 17:02 geoffclare Project  1003.1(2008)/Issue 7 =>
1003.1(2013)/Issue7+TC1
2015-11-17 21:39 shware_systems Note Added: 0002968  
2015-11-17 21:41 shware_systems Note Edited: 0002968 
2015-11-18 00:03 sebor  Note Added: 0002969  
2016-02-07 11:07 milanbvNote Added: 0003068  
2016-07-28 23:14 shware_systems Note Added: 0003311  
2016-07-28 23:14 shware_systems Note Added: 0003312  
2016-07-29 09:13 geoffclare Note Added: 0003313  
2016-07-29 09:35 shware_systems Note Deleted: 0003312
2016-07-30 13:56 steffenNote Added: 0003314  
2016-08-02 16:09 geoffclare Note Added: 0003323  
2016-08-03 11:45 steffenNote Added: 0003324  
2016-08-04 15:48 Don Cragun Note Added: 0003325  
2016-08-04 20:57 eblake Note Added: 0003327  
2016-08-10 14:58 geoffclare Note Added: 0003330  
2016-08-10 15:02 geoffclare Note Edited: 0003330 
2016-08-11 14:36 shware_systems Note Added: 0003334  
2022-07-25 15:41 geoffclare Interp Status => --- 
2022-07-25 15:41 geoffclare Final Accepted Text   =>
https://austingroupbugs.net/view.php?id=1007#c3330
2022-07-25 15:41 geoffclare Status   Under Review =>
Resolved
2022-07-25 15:41 geoffclare Resolution   Open => Accepted As
Marked
2022-07-25 15:41 geoffclare Tag Attached: issue8 
2022-08-19 15:28 geoffclare Status   Resolved => Applied 
==




[1003.1(2013)/Issue7+TC1 0001007]: iconv function not allowed to fail to convert valid sequences

2022-07-25 Thread Austin Group Bug Tracker via austin-group-l at The Open Group


The following issue has been RESOLVED. 
== 
https://austingroupbugs.net/view.php?id=1007 
== 
Reported By:sebor
Assigned To:ajosey
== 
Project:1003.1(2013)/Issue7+TC1
Issue ID:   1007
Category:   Base Definitions and Headers
Type:   Omission
Severity:   Objection
Priority:   normal
Status: Resolved
Name:   Martin Sebor 
Organization:
User Reference:  
Section:iconv function 
Page Number:1109-1110 
Line Number: 
Interp Status:  --- 
Final Accepted Text:https://austingroupbugs.net/view.php?id=1007#c3330 
Resolution: Accepted As Marked
Fixed in Version:   
== 
Date Submitted: 2015-11-16 20:37 UTC
Last Modified:  2022-07-25 15:41 UTC
== 
Summary:iconv function not allowed to fail to convert valid
sequences
== 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2015-11-16 20:37 sebor  New Issue
2015-11-16 20:37 sebor  Status   New => Under Review 
2015-11-16 20:37 sebor  Assigned To   => ajosey  
2015-11-16 20:37 sebor  Name  => Martin Sebor
2015-11-16 20:37 sebor  Section   => iconv function  
2015-11-16 20:37 sebor  Page Number   => 1109-1110   
2015-11-16 22:38 steffenNote Added: 0002965  
2015-11-17 17:02 geoffclare Project  1003.1(2008)/Issue 7 =>
1003.1(2013)/Issue7+TC1
2015-11-17 21:39 shware_systems Note Added: 0002968  
2015-11-17 21:41 shware_systems Note Edited: 0002968 
2015-11-18 00:03 sebor  Note Added: 0002969  
2016-02-07 11:07 milanbvNote Added: 0003068  
2016-07-28 23:14 shware_systems Note Added: 0003311  
2016-07-28 23:14 shware_systems Note Added: 0003312  
2016-07-29 09:13 geoffclare Note Added: 0003313  
2016-07-29 09:35 shware_systems Note Deleted: 0003312
2016-07-30 13:56 steffenNote Added: 0003314  
2016-08-02 16:09 geoffclare Note Added: 0003323  
2016-08-03 11:45 steffenNote Added: 0003324  
2016-08-04 15:48 Don Cragun Note Added: 0003325  
2016-08-04 20:57 eblake Note Added: 0003327  
2016-08-10 14:58 geoffclare Note Added: 0003330  
2016-08-10 15:02 geoffclare Note Edited: 0003330 
2016-08-11 14:36 shware_systems Note Added: 0003334  
2022-07-25 15:41 geoffclare Interp Status => --- 
2022-07-25 15:41 geoffclare Final Accepted Text   =>
https://austingroupbugs.net/view.php?id=1007#c3330
2022-07-25 15:41 geoffclare Status   Under Review =>
Resolved
2022-07-25 15:41 geoffclare Resolution   Open => Accepted As
Marked
==




[1003.1(2013)/Issue7+TC1 0001007]: iconv function not allowed to fail to convert valid sequences

2016-08-11 Thread Austin Group Bug Tracker

A NOTE has been added to this issue. 
== 
http://austingroupbugs.net/view.php?id=1007 
== 
Reported By:sebor
Assigned To:ajosey
== 
Project:1003.1(2013)/Issue7+TC1
Issue ID:   1007
Category:   Base Definitions and Headers
Type:   Omission
Severity:   Objection
Priority:   normal
Status: Under Review
Name:   Martin Sebor 
Organization:
User Reference:  
Section:iconv function 
Page Number:1109-1110 
Line Number: 
Interp Status:  --- 
Final Accepted Text: 
== 
Date Submitted: 2015-11-16 20:37 UTC
Last Modified:  2016-08-11 14:36 UTC
== 
Summary:iconv function not allowed to fail to convert valid
sequences
== 

-- 
 (0003334) shware_systems (reporter) - 2016-08-11 14:36
 http://austingroupbugs.net/view.php?id=1007#c3334 
-- 
The following, as an element of //IGNORE, I feel should be included also,
and should be simple for glibc to add. An application may not care about
illegal sequences, but may want to pop up a prompt for how to transliterate
non-identical sequences so would need to get notified when they occur.
Having just //IGNORE doesn't permit this usage.

//ILLEGAL_DISCARD
When specified, during subsequent iconv() code conversion, a sequence of
illegal input bytes that does not form a valid character in the codeset
specified by the fromcode argument is silently discarded as if there are no
such illegal bytes in the input buffer and the conversion continues. 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2015-11-16 20:37 sebor  New Issue
2015-11-16 20:37 sebor  Status   New => Under Review 
2015-11-16 20:37 sebor  Assigned To   => ajosey  
2015-11-16 20:37 sebor  Name  => Martin Sebor
2015-11-16 20:37 sebor  Section   => iconv function  
2015-11-16 20:37 sebor  Page Number   => 1109-1110   
2015-11-16 22:38 steffenNote Added: 0002965  
2015-11-17 17:02 geoffclare Project  1003.1(2008)/Issue 7 =>
1003.1(2013)/Issue7+TC1
2015-11-17 21:39 shware_systems Note Added: 0002968  
2015-11-17 21:41 shware_systems Note Edited: 0002968 
2015-11-18 00:03 sebor  Note Added: 0002969  
2016-02-07 11:07 milanbvNote Added: 0003068  
2016-07-28 23:14 shware_systems Note Added: 0003311  
2016-07-28 23:14 shware_systems Note Added: 0003312  
2016-07-29 09:13 geoffclare Note Added: 0003313  
2016-07-29 09:35 shware_systems Note Deleted: 0003312
2016-07-30 13:56 steffenNote Added: 0003314  
2016-08-02 16:09 geoffclare Note Added: 0003323  
2016-08-03 11:45 steffenNote Added: 0003324  
2016-08-04 15:48 Don Cragun Note Added: 0003325  
2016-08-04 20:57 eblake Note Added: 0003327  
2016-08-10 14:58 geoffclare Note Added: 0003330  
2016-08-10 15:02 geoffclare Note Edited: 0003330 
2016-08-11 14:36 shware_systems Note Added: 0003334  
==




[1003.1(2013)/Issue7+TC1 0001007]: iconv function not allowed to fail to convert valid sequences

2016-08-10 Thread Austin Group Bug Tracker

A NOTE has been added to this issue. 
== 
http://austingroupbugs.net/view.php?id=1007 
== 
Reported By:sebor
Assigned To:ajosey
== 
Project:1003.1(2013)/Issue7+TC1
Issue ID:   1007
Category:   Base Definitions and Headers
Type:   Omission
Severity:   Objection
Priority:   normal
Status: Under Review
Name:   Martin Sebor 
Organization:
User Reference:  
Section:iconv function 
Page Number:1109-1110 
Line Number: 
Interp Status:  --- 
Final Accepted Text: 
== 
Date Submitted: 2015-11-16 20:37 UTC
Last Modified:  2016-08-10 14:58 UTC
== 
Summary:iconv function not allowed to fail to convert valid
sequences
== 

-- 
 (0003330) geoffclare (manager) - 2016-08-10 14:58
 http://austingroupbugs.net/view.php?id=1007#c3330 
-- 
These are the changes I believe are needed to add the common subset of
Solaris 11 and glibc iconv_open() extensions (//IGNORE and //TRANSLIT),
plus Solaris's //NON_IDENTICAL_DISCARD.  This is intended as a starting
point to which further changes can be added if the group so decides.

On page 1109 line 37310 section iconv()

Change:If a sequence of input bytes does not form a valid
character in the specified codeset, conversion shall stop after the
previous successfully converted character.to:If a
sequence of input bytes does not form a valid character or shift sequence
in the input codeset:If the //IGNORE indicator suffix was specified
when the conversion descriptor cd was opened and the byte sequence
is immediately followed by a valid character or shift sequence, the
sequence of bytes shall be discarded and conversion shall continue from the
immediately following valid character or shift sequence.  This shall not be
treated as an error.If the //IGNORE indicator suffix was not
specified when the conversion descriptor cd was opened, conversion
shall stop after the previous successfully converted character or shift
sequence.

On page 1109 line 37323 section iconv()

Change:If iconv() encounters a character in the input
buffer that is valid, but for which an identical character does not exist
in the target codeset, iconv() shall perform an
implementation-defined conversion on this
character.to:If iconv() encounters a
character in the input buffer that is valid, but for which an identical
character does not exist in the output codeset:If either the
//IGNORE or the //NON_IDENTICAL_DISCARD indicator suffix was specified when
the conversion descriptor cd was opened, the character shall be
discarded but shall still be counted in the return value of the
iconv() call.If the //TRANSLIT indicator suffix was
specified when the conversion descriptor cd was opened, an
implementation-defined transliteration shall be performed, if possible, to
convert the character into one or more characters of the output codeset
that best resemble the input character.  The character shall be counted as
one character in the return value of the iconv() call, regardless of
the number of output characters.If no indicator suffix was
specified when the conversion descriptor cd was opened, or the
//TRANSLIT indicator suffix was specified but no transliteration of the
character is possible, iconv() shall perform an
implementation-defined conversion on the character and it shall be counted
in the return value of the iconv() call.

On page 1109 line 37327 section iconv()

Change:The iconv() function shall update the variables
pointed to by the arguments to reflect the extent of the conversion and
return the number of non-identical conversions performed. If the entire
string in the input buffer is converted, the value pointed to by
inbytesleft shall be 0.to:The
iconv() function shall update the variables pointed to by the
arguments to reflect the extent of the conversion and shall return the
number of input characters that could not be converted to an identical
output character.  If the entire string in the input buffer is converted,
except for any byte sequences discarded as a result of the //IGNORE
indicator suffix, the value pointed to by inbytesleft shall be
0.
On page 1110 line 37364 section iconv()

Add a new paragraph to APPLICATION USAGE:When the //IGNORE
indicator suffix was