We're updating the issue view to help you get more done. 

callback does not receive parameter with problem char contents

Description

When CharsetEncoderICU.fromUnicodeWithCallback calls the callback routine because a character is not encodable, the invalidUCharBuffer parameter that is passed (to the callback char[] buffer parameter) is always empty.
The result is that the problematic character is not known within the callback.
So it is not possible to handle & possibly solve the problem in the callback
(and that was the original goal of the callback construction in the first place).

Environment

Status

Assignee

mow@icu-project.org

Reporter

TracBot

tracCreated

Jan 28, 2009, 8:35 AM

tracOwner

michaelow

tracProject

all

tracReporter

simon.jongsma@cf0ebd00144f80b1

tracStatus

accepted

Components

Priority

assess