- From: r12a via GitHub <sysbot+gh@w3.org>
- Date: Tue, 04 Apr 2017 11:53:09 +0000
- To: public-i18n-archive@w3.org
Thinking out loud here... For the situation where there is nothing outside the RLI/LRI/FSI ... PDI then, because the UBA treats the formatting codes and internal text as a neutral character, there is no detectable strong character. The text inside the RLI/LRI/FSI ... PDI stands a good chance of behaving correctly wrt base direction when it is consumed (as long as the consumer knows how to handle RLI etc, which is not necessarily the case at the moment), but the base direction of the string is also used for decisions about text alignment. If the string was inserted into a web page as a paragraph, even if the stuff inside was correctly ordered, the line would by default be left aligned in a LTR page and right aligned in a RTL page. That may actually be ok much of the time. Problems would only arise if there was an expectation to align the paragraph according to the content. In that case, and if you used the normal UBA algorithm for first-strong detection, there'd be nothing to indicate the expected alignment. Question is, how often would that occur? -- GitHub Notification of comment by r12a Please view or discuss this issue at https://github.com/w3c/i18n-discuss/issues/3#issuecomment-291477037 using your GitHub account
Received on Tuesday, 4 April 2017 11:53:15 UTC