You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if there's an easy way to detect the unknown direction case in ICU4C, so I don't know if there's much support to support this case in the spec. But I guess we could at least document this case more clearly in the spec by adding an <emu-note> to CharacterDirectionOfLocale to describe that "ltr" is returned even when no direction is known.
The text was updated successfully, but these errors were encountered:
ICU4C's
uloc_isRightToLeft
doesn't seem to provide this information, but at least ICU4X'sLocaleDirectionality
has three possible return values:Direction::LeftToRight
Direction::RightToLeft
None
for scripts likeZzzz
orZyyy
.See also https://docs.rs/icu/latest/icu/locid_transform/struct.LocaleDirectionality.html#method.get.
I'm not sure if there's an easy way to detect the unknown direction case in ICU4C, so I don't know if there's much support to support this case in the spec. But I guess we could at least document this case more clearly in the spec by adding an
<emu-note>
toCharacterDirectionOfLocale
to describe that"ltr"
is returned even when no direction is known.The text was updated successfully, but these errors were encountered: