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

The transliterator does not correctly preserve metadata

Description

The intended behavior is to match most word processors, which is:

If the empty string is to be replaced (that is, insertion) we want to inherit the style of the character before the insertion. Otherwise we want to inherit the style of the first replaced character.

If the "Complex (nested replacers) Processing Code" is run (in the class StringReplacer) the style of the character before the insertion is always inherited. Even if we replace a nonempty string. This happens for simple transliteration rules as "a>A".

Environment

Status

Assignee

Mark Davis

Reporter

TracBot

Labels

tracCreated

Dec 14, 2016, 10:44 PM

tracOwner

mark

tracProject

ICU4C

tracReporter

code@357ea6c67f8f744b

tracStatus

design

Components

Priority

assess