<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://sourceware.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="4.4+"
          urlbase="http://sourceware.org/bugzilla/"
          
          maintainer="overseers@sourceware.org"
>

    <bug>
          <bug_id>13517</bug_id>
          
          <creation_ts>2011-12-18 22:33:00 +0000</creation_ts>
          <short_desc>iconv generates spurious warnings even though //IGNORE is set</short_desc>
          <delta_ts>2011-12-22 23:44:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>glibc</product>
          <component>libc</component>
          <version>2.14</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Edward Z. Yang">ezyang</reporter>
          <assigned_to name="Ulrich Drepper">drepper.fsp</assigned_to>
          
          <cf_gcchost></cf_gcchost>
          <cf_gcctarget></cf_gcctarget>
          <cf_gccbuild></cf_gccbuild>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>52219</commentid>
    <comment_count>0</comment_count>
    <who name="Edward Z. Yang">ezyang</who>
    <bug_when>2011-12-18 22:33:31 +0000</bug_when>
    <thetext>iconv generates spurious warnings when unconvertible sequences are encountered while IGNORE is enabled.

Expected behavior (from libiconv-1.14):

ezyang@javelin:~/Dev/glibc/build$ printf &quot;\xc3\xbc\x73&quot; |  ~/Desktop/libiconv-1.14/src/iconv_no_i18n -f utf-8 -t ascii//IGNORE
s

Actual behavior (from latest Git glibc-2.14-567-ga4647e7):

ezyang@javelin:~/Dev/glibc/build$ printf &quot;\xc3\xbc\x73&quot; | ./testrun.sh iconv/iconv_prog -f utf-8 -t ascii//IGNORE 
siconv/iconv_prog: illegal input sequence at position 5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52340</commentid>
    <comment_count>1</comment_count>
    <who name="Ulrich Drepper">drepper.fsp</who>
    <bug_when>2011-12-22 23:44:10 +0000</bug_when>
    <thetext>You have to use the -c option for iconv and not //IGNORE.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>