Clarify that the input strings must out-live the ICU objects in ucoleiter.h and usearch.h

Description

In the file: icu4c/source/i18n/unicode/ucoleitr.h

The example in the API docs "CollationElementIterator_Example" has a minor typo.

The variable str that is passed to the API ucol_openElements isn't actually defined; it should be the variable "s" instead.

Assignee

Jeff Genovy

Reporter

Jeff Genovy

Components

Labels

None

Reviewer

Markus Scherer

Priority

minor

Time Needed

None

Fix versions

Configure