Skip to content

Commit

Permalink
Update string-meta-explainer-updated.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aphillips authored Mar 26, 2023
1 parent 2df3e40 commit 87f3d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion explainers/string-meta-explainer-updated.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ will become the very garbled [^2]:

<img width="702" alt="Screenshot 2023-03-02 at 11 31 25" src="https://user-images.githubusercontent.com/4839211/222420448-aaed7f58-087c-4b26-91ca-d48b35dd4ebf.png">

Often this problem (and others) can be avoided by setting a base direction that is the same as that of the first character in the string. However, this isn't always possible, and in those cases the string has to come with metadata that indicates the expected display direction.
Sometimes this problem (and others) can be avoided by setting a base direction that is the same as that of the first character in the string. However, many strings start with characters that are not representative of the string as a whole: in those cases the string has to come with metadata that indicates the expected display direction.

If you are displaying a string of Han ideographs to a user, you'll need to know which language they speak in order to get the right font. Otherwise, Japanese users will be presented with text that reads like Chinese, and vice versa. The following shows examples of characters that appear differently depending on the language:

Expand Down

0 comments on commit 87f3d7a

Please sign in to comment.