This is a migrated thread and some comments may be shown as answers.

radeditor using the Karen and Burmese language

5 Answers 7 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jassie
Top achievements
Rank 1
Jassie asked on 22 May 2019, 07:28 PM

In a web form .net application, I need to allow users to be able access a 'generic' template letter that can be viewed in Karen, Burmese, and Nepali. 

What I know is the following:

1. I know if I place the following in the html, '<?xml version="1.0" encoding="utf-8" ?>', the radeditor should be able to handle the languages listed above, correct? If not correct, would you tell me what I need to do for the languages to be recognized?

2. If I need to place something like '<?xml version="1.0" encoding="utf-8" ?>' in the html for the radiator to know foreign languages are being used, can you tell me in the html where this needs to be placed? I am assuming before the <html></html> tags.

3. I am asking the following question since I need to download specific fonts for Karen and Burmese in a Word 2016 for the words to appear in the Word editor. Thus for the radeditor, would I need to place these fonts in the readeditor? If so, can tell me how to add the Karen and/or Burmese fonts to the radeditor and how the radeditor needs to be programmed to access these fonts? 

**Note: The users only need to view the Karen, Burmese, and Nepali words. They do not need to edit the words. The words will be loaded to the radeditor for them.

 

5 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 23 May 2019, 05:31 AM
Hi Jassie,

The content area of RadEditor is a standard HTML element (div or iframe depending on the ContentAreaMode setting) so if the browser and the page are capable of displaying the Karen and Burmese language, then RadEditor will be able too.

The xml tag can be placed in the beginning of the page as shown below:

<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE html
 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Title</title>
  </head>
  <body>
    <p>Paragraph 1</p>
 </body>
</html>


Best Regards,
Rumen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Jassie
Top achievements
Rank 1
answered on 23 May 2019, 03:29 PM

Thank you for your response so far!
I so have the following additional questions to ask you which are:
1. You mentioned the following "so if the browser and the page are capable of displaying the Karen and Burmese language, then RadEditor will be able too." Thus you are saying to have Karen and Burmese languages be displayed, that has nothing to do with the radeditor correct? That is something something that needs to be built into the web form application?
   Also the line that you show as <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> where 'lang="en"' is where the different languages that can be used by
the web page so show what languages can be accessed, right?
2. For the line of code that appears at the top of a web page, "<?xml version="1.0" encoding="UTF-8"?>", I am planning this to be the first line when loading a 'generic'
'standard' letter to the web page for the user to modify, correct? If not, what should I change?
0
Rumen
Telerik team
answered on 28 May 2019, 10:14 AM
Hi Jassie,

1. Yes, RadEditor is like a HTML iframe/div container which uses the underlying engine of the browser to render the content. If the content has the proper encoding and is displayed properly in the browser, RadEditor content area will display it properly too.
2. Yes. You can find more on the lang attribute at https://www.w3.org/International/questions/qa-lang-why.
3. Yes.

Also when saving the aspx page in Visual Studio, it is always better to save it with UTF-8 encoding as shown in the attaches screenshot.

Regards,
Rumen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Jassie
Top achievements
Rank 1
answered on 29 May 2019, 02:33 AM
Thank you very much!
0
Rumen
Telerik team
answered on 29 May 2019, 07:53 AM
You are welcome, Jassie!

Keep up the good work.

Regards,
Rumen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
General Discussions
Asked by
Jassie
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Jassie
Top achievements
Rank 1
Share this question
or