bugGNU gettext - Bugs: bug #37857, libiconv allows encoding...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #37857: libiconv allows encoding characters above U+10FFFF in UTF-8

Submitted by:  Vlad R <vladr>
Submitted on:  Mon Dec 3 20:14:02 2012  
 
Category: OtherSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: Bruno Haible <haible>
Open/Closed: Closed

Fri Nov 18 18:38:42 2016, comment #1:

This bug report belongs to libiconv, not to GNU gettext. => Marking it as 'Invalid'.

The corresponding bug in libiconv has now been fixed: https://savannah.gnu.org/bugs/?39238

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Mon Dec 3 20:14:02 2012, original submission:

In lib/utf-8.h we imply adherence to RFC 3629, but RFC 3629 explicitly restricts the range of characters to 0000-10FFFF (the UTF-16 accessible range.) In this respect, lib/utf-8.h follows RFC 2279.

As a result, such non-RFC 3629 sequences (in excess of U+10ffff) are deemed "valid" by libiconv (`printf '\xf4\x90\x80\x80' | iconv -f utf8 -t utf8` succeeds) but are not convertible to any other encoding (including utf32: `printf '\xf4\x90\x80\x80' | iconv -f utf8 -t utf32` fails.)

Sequences deemed valid by libiconv are also not interoperable with misc. XML parsers (e.g. Java-based.)

This is similar to the glibc bug 2373.

Vlad R <vladr>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by haible (Posted a comment)
  • -unavailable- added by vladr (Submitted the item)
  • -unavailable- added by vladr
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Nov 27 01:31:24 2016haibleCategoryNone=>Other
    Fri Nov 18 18:38:42 2016haibleStatusNone=>Invalid
      Assigned toNone=>haible
      Open/ClosedOpen=>Closed
    Mon Dec 3 20:14:02 2012vladrCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup