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).

Status

Assignee

mow@icu-project.org

Reporter

TracBot

Labels

None

Reviewer

None

Time Needed

None

Start date

None

Components

Priority

assess