copy buttonCopy
undo buttonUndo
redo buttonRedo
clear all buttonClear All
menu button
  • Workspace
  • Help Guide
  • About
  • Output:
  • Width:
  • Height:
  • Text Size:
  • Keyboard Text Size

About

Sinhala Unicode Converter app converts Sinhala text to Unicode character reference code. Converted content can be used in various computer coding scenarios, notably HTML (decimal, hexadecimal), CSS and JavaScript. To use the app simply insert Sinhala script characters in allotted (left/upper) textarea by clicking on keys (buttons) in the on-screen keyboard. The content in Sinhala is immediately converted and presented in the form of Unicode character reference code in the secondary textarea. The code can be cut and pasted to plain text editors or other applicable programs. System requirements of the Sinhala Unicode Converter are listed in the Help Guide.

Version: 1.0

Copyright (c) Altec Services All rights reserved.

System Requirements

Sinhala Unicode Converter is a web application meaning that it can be accessed on any device with an internet web browser. Internet browsers with CSS3 support is recommended. Including: Internet Explorer 9+, Chrome 4+, Firefox 3.5+(partial support) 22+ (full support), Safari 4+, Opera 15+, iOS Safari 4.1+, Android Browser 2.3+, Chrome for Android 51+, IE Mobile 10+, UC Browser for Android 9.9+, Samsung Internet 4+. Older browsers only have partial functionality.

Basic Operation

  • Click on a key (button) in the on-screen Sinhala keyboard generates the character in the the left/upper textarea.
  • The app immediately converts the text typed in Sinhala and presents it in the form of a Unicode character reference code in a secondary textarea. Subsequent additions to the content will be converted in the same manner.
  • With the default settings the content is converted to decimal character reference code. Other character reference code options available in the app are listed below.
    • HTML (Decimal) - e.g. අ
    • HTML (Hexadecimal) - e.g. අ
    • CSS - e.g. \000D85
    • JavaScript - e.g. \u0D85

    The first two options are generally used in html, particularly when direct input of Sinhala letters is not supported. The third and fourth can be used in CSS and JavaScript coding respectively. You can select the desired option from the settings menu. The selection can be made anytime without affecting the inserted content.

  • Non Sinhala characters will not be converted. Latin script, punctuations, empty spaces and other characters will appear as they are in the secondary textarea.

NB: Certain characters in the keyboard are not represented in the Unicode character charts, notably ්‍ර, ්‍ය, ළු and   ර්‍‍ . Thus in many instances their reference codes will not function as intended.

Other Buttons/Features

  • backspace (backspace) – Deletes the previous character (from the position of the cursor).
  • space (space) – Creates an empty space in the textarea.
  • 1st character set (common script characters) – Regularly used characters in the Sinhala script.
  • 2nd character set (rare script characters) – Rarely used characters in the Sinhala script.
  • (numerals-symbols) - Numbers and symbolic characters.
  • copy (copy) – Copy the reference code content in the secondary textarea to your clipboard (to be pasted where applicable).
  • undo (undo) – Retrieve content from upto 10 previous actions.
  • redo (redo) – Returns the content back to the original from an undo step.
  • clear all (clear all) – Deletes all content in the textarea.

Settings

Sinhala Unicode converter has four character reference code options, decimal, hexadecimal, CSS and JavaScript. To select the desired type simply click the associated radio button. It can be done anytime without affecting the inserted content.

The app allows you to resize the textarea and change the font size in the textarea. Simply replace default values and click "Ok" to change settings.

  • Width – The default width of the textareas is 100% (i.e width of the keyboard). It can be increased (e.g. 150%) or decreased (e.g. 50%) as a percentage or another appropriate unit of measurement (e.g. 500em, 1000px, etc.).
  • Height – Change the height of the textareas from the default (100px) by replacing the value to a desired height in an appropriate unit of measurement (px, em).
  • Font size – Is the size of the font in the textareas. The option was created to allow the user to view the content at a desired font size.
  • Keyboard text size - Is the font size of the script characters on the keyboard.
  • Fixed keyboard and/or menu - Checking the selection box(s) locks the keyboard and/or menu in to a fixed position on the screen.
  • Default button – Returns editable values back to default settings.