Sometimes we have to show messages in display which is a mixing of RTL and LTR languages. The message is in unicode. So, how unicode handle the mixing? Is there any dependency on the platform?
How mixing LTR and RTL languages is managed in unicode?
1.7k views Asked by Gulshan At
1
There are 1 answers
Related Questions in UNICODE
- Question about unicode assignments in python
- Can't we make a better variable-length character encoding with just using the 1 bit extra in the 7 bit ASCII?
- UTF-8 string has too many bytes using SBCL and babel on Windows 64 bits
- how to implement ZWJ and NZWJ in fontlab
- charAt() on HTML entities
- NCURSESW - Unable to use addwstr function to print out unicode characters outside of standard ASCII
- pdftk unicode works in preview but not adobe acrobat
- How to store metadata for a UTF-8 text file cross-platform?
- Is there a 'bottom-to-top' equivalent of the unicode 'rtl override'?
- pdftk generated pdf does not render correct utf-8
- How do I add a bullet point before a line of text in ZPL on a Zebra ZD500R?
- Visual C++ - how can I turn a unicode character into char or string?
- Getting error 'Some bytes have been replaced with the Unicode substitution character while loading file ... with Unicode (UTF-8)"
- French special characters unicode required for first name
- How to use HTML5 input pattern attribute to validate Latin and extended Latin characters only
Related Questions in RIGHT-TO-LEFT
- Does anyone have any idea why my right-to-left (RTL) layout isn't taking effect immediately?
- RN i18n issue on some iOS devices
- flutter selectable text anchor position in rtl languages
- python-docx does not apply font size when changing text direction to RTL
- Views not mirrored for RTL languages
- Kurdish Language Support on Google Play Books
- Write text to a text file in RTL format
- Kurdish font using tcpdf library not working
- right-to-left text (like Hebrew)
- Compose multiplatform - iOS app layout does not adapt to RTL when changing app language to RTL language
- Is Slickgrid right-to-left compatible?
- Is there a way to use scrollview RTL (arabic) with LTR animation?
- Content does not extend to the next page when using direction rtl (Right to Left)
- writing hebrew text in rust
- Write Farsi (persian) text using opencv c++
Related Questions in MIXING
- How to delete one of the multiple audio tracks from a mkv?
- Can you interact with python from R Studio?
- How to mix thousands of WAV files into a single file using NAudio's MixingSampleProvider?
- Swift UICollectionViewCell Item Mixing... Video of the problem is available
- How to mix a lot of audio files with NAudio?
- Calling C++ standard header (cstdint) from C file
- FFMPEG -- using 'amix' to combine short audio clip with a video results in final video's sound cutting off early
- How to Auto Gain Control (AGC) while mixing audio for audio conference
- Realtime audio mixing algorithm for large audio conference
- How to account for non-uniform illumination - Scenes are changing from image to image
- Django - instances
- returning Assembly Function In C Code x86 Compilation on 64 bit linux
- Why char and other C function should not be used in C++?
- undefined reference to `cos' when I use iso_c_binding
- Is there inverse algorithm for mixing paint colors?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The process is described by the Unicode bidirectional algorithm described here:
http://www.unicode.org/reports/tr9/.By default, text is left to right (level 0). Unicode has special character codes to delimit RTL text within level 0 (level 1). You use special characters to delimit LTR within RTL and so on. I think you can have up to 61 levels of embedding.
HTML tags have the "dir" attribute to specify the default direction.
The process is platform neutral, but you will be relying on the unicode algorithm to get it right.