TinyMCE is truncating regular(non formatted) text entered into fields. The content is being saved to .html files, which are pulled into iframes. The issue has been narrowed down to TinyMCE. Is there a default character limit in TinyMCE?
There is no default character limit in TinyMCE.
Related
Source code like this and show result on browser same as code.
enter image description here
I try with UTF-8 but it can't help.
enter image description here
example : ��è��ҡ����������ҡѺ
�е�ͧ���¡���������ҡѺ
Can I solve this in Eclipse or I have to translate it (but I don't know what type of these fonts) ?
A JSP file, just like a XML file, declares within its own contents what encoding to use. You've set it to be read as UTF-8 even though the contents declare it to use TIS-620, most likely in the pageEncoding value of the page directive. Once the text is read by the browser or JSP editor, the font has to support the characters that are there or you will continue to get the incorrect appearance regardless. Not all fonts support all the valid characters.
Close the JSP editor, change the file property dialog back to using the default encoding for its contents, and then reopen the file and change the encoding in the page directive.
In my app i'm use tinyMCE editor to create rich email content, but now I need also sent messages as plain text now. Did someone knew how to force tinyMCE to use as a simple text editor w o any content editing, and use \r\n as line breaker?
I'm really stack at this moment, and thinking about writing own simple text editor, based on textarea. Didn't find in tinyMCE docs any solution.
TinyMCE is an HTML editor - there is no option to turn it into a plain text editor. The best you could do with TinyMCE is to transform the HTML into plain text when saving the form.
When trying to copy paste some Chinese characters in a HTML file open in Dreamweaver I see that its being represented as boxes. When I view the pave on a browser I can see the characters correctly so its just in Dreameaver that they don't show up.
I read some posts on S.O. about utf-8 and saving with BOM disabled.I have even included Chinese on my keyboard with no luck.
edit. I tried editing the Fonts in Edit>Preferences to Chinese but when I click OK and I go back to it it shows Unicode again.
I could just copy and paste everything and it will work but it would be easier if I can see the different characters so when I need to hyperlink some word or include it in a tag I dont have to count boxes and view on the browser to figure it out.
I found out what was the problem. It was an encoding issue on Dreamweaver.
Went to Modify>Page Properties>Title/Encoding and changed the encoding to Chinese.
The Unicode showed up boxes in Dreamweaver.
However if you have already text copied in then they might not turn to the actual characters correctly so you have to re-enter them or if you didn't enter anything text yet its ok.
I'm trying to display the Unicode replacement character, but some combination of font and page encoding seems to be causing the character to show up invisibly in the browser. I can highlight the browser content and copy-paste it into a text editor and see the question-in-a-box glyph, so the character is there, but the browser displays no glyph.
I'm processing a text file with a java.nio.charset.CharsetDecoder object (using the "REPLACE" option for onUnmappable), so it should process all inputs and if there are unmappable outputs I should see the replacement character (which is being left as the default).
I'm displaying this content in a jsp which is tagged as utf-8 like this:
<%# page language="java" pageEncoding="utf-8" contentType="text/html;charset=utf-8" %>
And also like this:
meta charset='utf-8'
(first element in the head)
Initially, my page has a font-family CSS setting of 'Courier New', but I've tried various fonts after looking at this page. Something is making the Unicode replacement glyph invisible in the rendered page.
have you tried to change the file format it self into UTF-8 from the editor .
I need to copy word text with image to my server through copy - paste function. For that purpose, I choose TinyMCE editor.
The editor works fine, when inserting from word just text. It also works fine, when inserting from word just picture (the picture shows in TinyMCE textarea).
However, when I copy paste word text together with image, only the text shows in textarea.
Is there any way around how to solve this issue?
Next problem is, is there a plugin for TinyMCE that would get the link to the image from TinyMCE textarea, when pasting, and save the image on server?
You should have a look at the tinymce paste plugin - this should be able to handle it.