This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug locale/20804] New: iconv rejects wchar_t↔wchar_t


https://sourceware.org/bugzilla/show_bug.cgi?id=20804

            Bug ID: 20804
           Summary: iconv rejects wchar_t↔wchar_t
           Product: glibc
           Version: 2.24
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: locale
          Assignee: unassigned at sourceware dot org
          Reporter: jengelh at inai dot de
  Target Milestone: ---

Observed behavior with glibc 2.19 and 2.24:

$ echo -en "" | iconv -f wchar_t -t wchar_t
iconv: conversion from `wchar_t' to `wchar_t' is not supported
Try `iconv --help' or `iconv --usage' for more information.

The C interface (iconv_open) exhibits the same behavior.

Expected behavior:

$ echo -en "" | iconv -f wchar_t -t wchar_t
$

wchar_t is the only FROM-TO combination which is being rejected by iconv.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]