Re: [web-annotation] Base direction for annotations

> @r12a shouldn't be the text direction easily identified from the 
script codes?

It's a question we're asked a lot, and the answer is no. As a hack it 
sometimes works to infer the base direction from the language 
information when no real direction information is available, but it's 
unreliable.  Note in particular that BCP47 strongly encourages you 
*not* to use script tags unless necessary to distinguish usages, and 
in fact has a mechanism to indicate that script should not be used 
with certain language tags.  Moreover, language and direction are not 
the same thing.  For example, how would you express 'auto' with 
language tags? 

-- 
GitHub Notification of comment by r12a
Please view or discuss this issue at 
https://github.com/w3c/web-annotation/issues/224#issuecomment-221223318
 using your GitHub account

Received on Tuesday, 24 May 2016 10:02:40 UTC