uloc_getDisplayScript doesn't support pre-flighting with an empty buffer or a buffer with less than 5 elements

Description

Output:

Expected:
The pre-flighting call to uloc_getDisplayScript returns the actual length needed for the result buffer.

Test case:

Assignee

Frank Yung-Fong Tang

Reporter

André Bargull

Components

Labels

Reviewer

None

Priority

minor

Time Needed

Days

Fix versions

Configure