Copying wingdings (etc) from word documents to html text fields -


When I write some text (standard English, no fancy characters) in the word window using the wording as the font, the text Copying and pasting the "I do not know what the character is" character in OS (small squares of windows) in an HTML textfield result.

It seems that the font is changing (what should only be a display property) preventing the text from pasting correctly in the input field.

Why does not this text paste directly? Can I do anything to stop the problem of 'small squares'?

Here are two problems:

  1. On the web page The standard text field only displays plain text / displays when you add "Wingdings" character to Word document, you are actually changing the "Wingdings" font for that character. This is possible because most modern text editors use advanced document formats such as RTF, ODF, one of the different word formats, etc.

    So when you copy and paste text from the word into your browser, all text formatting (including font information) is lost. Paste the text only to the font & amp; The style of that specific text field

  2. Most of the documents on the Internet are encoded using Unicode encoding, usually some form of UTF-8. Since wingding has not been mapped to Unicode, it prevents it from appearing properly on web pages.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -