Arabic Suppport for AlivePDF - actionscript-3

I am trying to use the alivepdf library to create PDFs that include Arabic text. I searched several places, and I could not find if the library supports Arabic. I also tried purepdf, which says it supports Arabic, but found may difficulties in getting that to work. This is how the Arabic text looks in the generated PDF in alivepdf
ÃõÑíÏõ Ãä ÃÏÑõÓ Ýí ÇáÌÇãöÚÉ ÜÜÜÜÜÜÜÜÜÜ ÃÍÕõá Úóáì Úóãá ÌóíøöÏ.
[ ÈöÓóÈÈ- áöÃäø- áößí íóÔÊóÑí ÇáßõÊõÈ ÜÜÜÜÜÜÜÜÜÜ ØÇáöÈ. [ ÈöÓóÈÈ- áÃäóøåõ- áöÃäø
My specific question is: does alivePDF support Arabic, and if not what is the alternative. A working example would be appreciated.
Thank you

Related

Special Characters (German Umlauts) in Blazor manifest.json?

so I want to create a Microsoft Teams App using Visual Studio 2019, Teams Toolkit and Blazor, and I'm having a hard time getting Unicode Characters (German Umlaute ä, ö, and ü) to show up in my manifest.json - or rather in the Teams App Description page. I'm also pretty new at developing with Blazor and JSON.
I've tried the HTML-style ö but this just gets passed right through.
I've tried the "\u00f6" but then it just shows up as "?".
How do i get Unicode characters into my manifest? Anything I'm missing? Do I have to switch to a different encoding? Where do I even see what type of encoding is being used?
manifest.json:
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.9/MicrosoftTeams.schema.json",
"manifestVersion": "1.9",
"version": "1.0.0",
"localizationInfo": {
"defaultLanguageTag": "de"
},
"developer": {
"name": "Römer R\u00f6mer",
...
is displayed as:
Any suggestions of what I'm missing?
EDIT
So as a few answers have suggested, I've tried saving the manifest.json in a different encoding (ANSI, UTF-8) but nothing works. It seems to me that Microsoft Teams is somehow not interpreting the manifest correctly. Which is weird, because the Description Page of some other apps include Umlauts and they are displayed correctly.
You can use Notepad++ to check and also change the encoding of a text file.
https://notepad-plus-plus.org/downloads/
As a developer from Austria, who also has to fight with umlauts, I would recommend to change the encoding of the file.
You can change the encoding in Notepad++: Menu bar -> encoding/
EDIT: But by the way, I think that umlauts and special characters etc. should not be used in manifest files or source code files.
In VS you can use File/Save {your file} As...
then select to change the encoding in the drop down for the Save button
The docs say UTF-8 without BOM
We are able to repro the issue. We have raised a bug for this issue, concerned engineering team is working on it.

Do you know how to make Hebrew JSON file show correct characters in HTML page?

I am having a problem in showing Hebrew letters on my HTML page. I am using (as far as I know maybe I'm wrong) JSON file from here:
https://getbible.net/json?scripture=Psa%20119&version=bhs
I want it to look like this one:
https://www.biblegateway.com/passage/?search=Ps.119&version=WLC
But I still get only this: u05d0\u05b7\u05e9\u05c1\u05b0\u05e8\u05b5\u05d9 \u05e0\u05b9\u05e6\u05b0\u05e8\u05b5\u05d9 \u05e2\u05b5\u05d3\u05b9\u05ea\u05b8\u05d9\u05d5
I mean I want it to show all Hebrew symbols. Does anyone know how to fix that on the HTML page? Thank you.
I don't know what framework library you are using but it should be displayed correctly unless you or the library you are using escapes the unicode characters a second time ("\u05d0" becoming "\\u05d0").
var verse ={"verse_nr":1,"verse":"\u05d0\u05b7\u05e9\u05c1\u05b0\u05e8\u05b5\u05d9 \u05ea\u05b0\u05de\u05b4\u05d9\u05de\u05b5\u05d9\u05be\u05d3\u05b8\u05e8\u05b6\u05da\u05b0 \u05d4\u05b7\u05d4\u05b9\u05dc\u05b0\u05db\u05b4\u05d9\u05dd \u05d1\u05bc\u05b0\u05ea\u05b9\u05d5\u05e8\u05b7\u05ea \u05d9\u05b0\u05d4\u05d5\u05b8\u05d4\u05c3\r\n"};
document.getElementById("content").textContent = verse.verse;
<div id="content"/>

Displaying UTF-8 codes from JSON file as Emoticons

I am loading a JSON file that contains some UTF-8 codes, that represent emoticons.
The JSON content looks as follows:
"Studying! \uf4d6"
"Winning \uf40e\uf3c1 #4mile"
"Cheer me on \uf603 #werunamsterdam"
These UTF-8 codes are displayed as blocks in the browser. But when I look at this Unicode reference in Firefox, the codes are actually recognized!
(for example, UF4D6 is a book)
How do I convert the code from my json so that a browser can display them?
The code points from \uE000 to \uF8FF are in a private use area, so there aren't any standard glyphs associated with them.
You can, however, create your own font with suitable icons at these code points. This can be done quite easily using online tools like IcoMoon. Alternatively, use a string replacement routine to swap these characters with suitable markup (e.g., replace \uf4d6 with <img src="/icons/book.png" alt="[Book]" />)
These emoticons are encoded as regular characters as defined in Unicode, i.e. they're no different from the letter "A" or "%". All you need is a font that has glyphs for these "characters". Since not everyone can be expected to have such fonts installed (apparently you don't), if you want maximum compatibility, there are libraries for most languages that replace these characters with equivalent images. Google for one that suits your needs.

MathType Word Document export using MathPage MathML

I need to convert the ms-word 2003 documents to HTML with MathML included if there are math equations. The quick solution I found at the moment is using the MathType addin to export the whole document into a HTML with MathML using its "Publish to MathPage" function.
However, it couldn't do the conversion properly. Most of the equations in the document is still in the image format, instead of MathML. The strange thing is that it converts the commas into the MathML, not the equations.
The original word document:
https://dl.dropbox.com/u/4625393/test12.doc
The key part of the converted html source:
https://gist.github.com/katat/5091021
Is this a bug of the MathType?
Kata, I'm not sure what versions of Word and MathType you are using, but I was able to successfully create the MathPage with MathML. I am using Word 2013 and MathType 6.9. This is the page I created: http://dl.dropbox.com/u/17008533/187.xht
Not sure what could have gone wrong with yours. It does seem that you chose an appropriate "target" for the MathPage; it looks like you chose XHTML+MathML.
If you can give me some more details about what steps you're taking from start to finish, I'll try to help more. Also let me know what versions of the software you're using.

Do you know eclipse plugin to change localised text into html entities?

I have resource bundle with my country characters - how to change them into html entities.
I prefer plugin integrated with Eclipse to have all tools in one place.
You might try:
http://andrei.gmxhome.de/anyedit/
Further down the page one of its features is:
Convert
Chars to Html entities
Editors - Useful if working in bilingual team to convert é's, ô's, ä's etc between html and other sources ;)