- From: Shervin Afshar via GitHub <sysbot+gh@w3.org>
- Date: Tue, 06 Sep 2022 15:37:45 +0000
- To: public-i18n-archive@w3.org
> I was wondering what if there was someway to indicate indicate directionality of plain text file. There, technically, are ways to indicate directionality in plain text as explained in UAX #9 2.7 (and few previous sections): https://www.unicode.org/reports/tr9/#Markup_And_Formatting But having said that, the premise of plain text presentation formats (Markdown et al) is ease of use for people who find mark-up too hard to use. So recommending people to add directional signifier characters might not have much teeth. > which shows as I think this is your your browser (most likely, Chrome) being silly. Here's how it shows up in FF 104.0.1: Best regards, ↪ Shervin On Tue, Sep 6, 2022, at 04:51, ebraminio wrote: > > > Hopefully not that out of scope for this repository, I had this for awhile and now that I just saw https://www.curiositry.com/blog.txt a blogging platform just in a text file, somehow a novel way of using browser I guess, I was wondering what if there was someway to indicate indicate directionality of plain text file. > > Right now for example we have > > data:text/plain;charset=utf8,سیب. > > (paste the whole line in browser url bar) > > which shows as > > image <https://user-images.githubusercontent.com/833473/188626358-599593d0-01ef-4fdb-abb7-80b03215a96f.png> > > And I drop charset=utf8 it will become > > data:text/plain,سیب > > image <https://user-images.githubusercontent.com/833473/188626428-9395a938-1293-4030-ba54-3519072c14d9.png> > > And I wish there was a standardized way in browsers to specify direction in MIME also say like this, > > data:text/plain;direction=rtl;charset=utf8,سیب. > > or > > data:text/plain;dir=rtl;charset=utf8,سیب. > > so it can show it like this > > image <https://user-images.githubusercontent.com/833473/188626611-1e2438a5-f575-4add-8383-133c9bb9ca14.png> > > (which currently shows it like the first screenshot and puts the dot in the wrong place) > > So maybe suggesting dir=auto,rtl,ltr to MIME extension so RTL documents written in plain text can be shown correctly in the browser. > > And maybe `writing-mode={horizontal-tb,vertical-rl,vertical-lr,sideways-rl,sideways-lr}` later also but vertically written language but guess that isn't that needed. > > Or maybe the whole thing doesn't worth the hassle and that https://www.curiositry.com/blog.txt blogging mechanism is niche and should only be kept for LTR scripts, but at least it is discussed somewhere. > > > > — > Reply to this email directly, view it on GitHub <https://github.com/w3c/alreq/issues/257>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAGV3OSHHPMK5GFQBQTYKFTV44V4RANCNFSM6AAAAAAQFX6RPU>. > You are receiving this because you are subscribed to this thread.Message ID: ***@***.***> > > -- GitHub Notification of comment by shervinafshar Please view or discuss this issue at https://github.com/w3c/alreq/issues/257#issuecomment-1238320892 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 6 September 2022 15:37:47 UTC