[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    T8984: Enclosing placeholders by isolation characters
From:       Safa Alfulaij <noreply () phabricator ! kde ! org>
Date:       2018-06-09 16:56:51
Message-ID: maniphest-task-PHID-TASK-rtp2x6cwusie3w3iadzg () phabricator ! kde ! org
[Download RAW message or body]

[Attachment #2 (text/plain)]

safaalfulaij created this task.
safaalfulaij added a project: Localization.

TASK DESCRIPTION
  With Qt5.11, we got <http://blog.qt.io/blog/2018/05/22/qt-5-11-released/> full \
Unicode support including isolation[1] characters that are useful in bidirectional \
text.  
  Knowing the fact how bidi text is hard to get right (Check 1 \
<https://phabricator.kde.org/R7:5bc9e0ac69072e2f6fcb8be56d693c428994f4b9>/1.5 \
<https://phabricator.kde.org/R7:8384d546baa8981351bdfcc8f9e1da2c213e3812> and 2 \
<https://github.com/lxqt/pcmanfm-qt>), I would like to discuss if we should enclose \
every placeholder used in KI18n with the two isolation characters FSI (u2068, First \
Strong Isolate) and PDI (u2069, Pop Directional Isolate) by default. This makes it \
much more easier for programs to support proper bidi text without a lot of work.  The \
downside of this is that apps running older version of Qt may get the text \
misrendered, and copying text to apps that doesn't support Unicode properly will \
cause issues.  
  Ideas?
  
  [1] Isolation is a way to seperate a specific chunk of text, detecting it's \
direction, getting the order correct and readding it to the actual text.  Example:
  Arabic string has a dot at start and an underscore at end: `_CIBARA.`
  Without the isolation it will show as: `This is an .CIBARA_ text.`
  With the isolation: `This is an _CIBARA. text.`

TASK DETAIL
  https://phabricator.kde.org/T8984

To: safaalfulaij
Cc: #localization, safaalfulaij, skadinna, huftis


[Attachment #3 (text/html)]

<table><tr><td style="">safaalfulaij created this task.<br />safaalfulaij added a \
project: Localization. </td></tr></table><br /><div><strong>TASK \
DESCRIPTION</strong><div><p>With Qt5.11, we <a \
href="http://blog.qt.io/blog/2018/05/22/qt-5-11-released/" class="remarkup-link" \
target="_blank" rel="noreferrer">got</a> full Unicode support including isolation[1] \
characters that are useful in bidirectional text.</p>

<p>Knowing the fact how bidi text is hard to get right (Check <a \
href="https://phabricator.kde.org/R7:5bc9e0ac69072e2f6fcb8be56d693c428994f4b9" \
class="remarkup-link" target="_blank" rel="noreferrer">1</a>/<a \
href="https://phabricator.kde.org/R7:8384d546baa8981351bdfcc8f9e1da2c213e3812" \
class="remarkup-link" target="_blank" rel="noreferrer">1.5</a> and <a \
href="https://github.com/lxqt/pcmanfm-qt" class="remarkup-link" target="_blank" \
rel="noreferrer">2</a>), I would like to discuss if we should enclose every \
placeholder used in KI18n with the two isolation characters FSI (u2068, First Strong \
Isolate) and PDI (u2069, Pop Directional Isolate) by default. This makes it much more \
easier for programs to support proper bidi text without a lot of work.<br /> The \
downside of this is that apps running older version of Qt may get the text \
misrendered, and copying text to apps that doesn&#039;t support Unicode properly will \
cause issues.</p>

<p>Ideas?</p>

<p>[1] Isolation is a way to seperate a specific chunk of text, detecting it&#039;s \
direction, getting the order correct and readding it to the actual text.<br /> \
Example:<br /> Arabic string has a dot at start and an underscore at end: <tt \
style="background: #ebebeb; font-size: 13px;">_CIBARA.</tt><br /> Without the \
isolation it will show as: <tt style="background: #ebebeb; font-size: 13px;">This is \
an .CIBARA_ text.</tt><br /> With the isolation: <tt style="background: #ebebeb; \
font-size: 13px;">This is an _CIBARA. text.</tt></p></div></div><br \
/><div><strong>TASK DETAIL</strong><div><a \
href="https://phabricator.kde.org/T8984">https://phabricator.kde.org/T8984</a></div></div><br \
/><div><strong>To: </strong>safaalfulaij<br /><strong>Cc: </strong>Localization, \
safaalfulaij, skadinna, huftis<br /></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic