Advanced Search

Results 1 to 5 of 5

Thread: Script to display MS Word Symbols

  1. #1
    Join Date
    Oct 2005
    Posts
    86
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Script to display MS Word Symbols

    Hi,

    I am trying to find a script that will allow me to copy a MS word document that contains MS symbols and paste it on a webpage and be viewable. For some reasons, when I did that, the symbols will show up in IE but when I view them using Firefox, the symbols look like Chinese.

    Is there script of anything I can do to make the symbols viewable in any brower.

    Thank you so much in advance.

  2. #2
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by vanbao View Post
    I am trying to find a script that will allow me to copy a MS word document that contains MS symbols and paste it on a webpage and be viewable. For some reasons, when I did that, the symbols will show up in IE but when I view them using Firefox, the symbols look like Chinese.
    This is probably an encoding issue: the data copied from the clipboard requires a particular character encoding scheme that the HTML document doesn't use.

    Can you please post a link to a simple example that demonstrates the problem, preferably on the same server as this page of yours. It'll be easier to see exactly what's happening, as the cause may vary depending on what Word version is in use. Don't post code to the forum: the behaviour of the server is important.

    Mike


    This should probably be moved to the HTML forum.

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,156
    Thanks
    262
    Thanked 690 Times in 678 Posts

    Default

    Also, note that some characters like shaped quotation marks (facing in or out toward the text on both ends) don't exist in the standard character set, so you'll need to do something special for them to work. I don't know much more than this, though, sorry.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. #4
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by djr33 View Post
    Also, note that some characters like shaped quotation marks (facing in or out toward the text on both ends) don't exist in the standard character set, so you'll need to do something special for them to work.
    The only standard character set in HTML is ISO/IEC 10646, which is essentially Unicode. A document may encoded using a particular encoding scheme, but the document character set is always the same.

    There's an old, but thorough thread on Usenet that discusses this, and provides links to a few key documents. It's from 2004; the subject was Character set.

    Mike

  5. #5
    Join Date
    Dec 2006
    Location
    Raleigh, NC
    Posts
    15
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Which symbols specifically? Some chars have special means to output them in html, such as † and ‡, bullets • and even the per mile sign: ‰.

    Not sure if those are ones you need, but this doc might help

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •