dcsimg
www.webdeveloper.com
Results 1 to 6 of 6

Thread: Printing special characters

  1. #1
    Join Date
    May 2003
    Location
    Andover, UK
    Posts
    410

    Printing special characters

    On my website I had something like:
    Caption --> [IMG] to label a picture, so I thought I would be clever and replace the '-->' with → to give a nicer arrow. However although it is fine on screen, when I came to print the page the arrow was replaced by a square, a space and an '@' which suggests to me that there is some sort of font problem. Any ideas anyone ?

  2. #2
    Join Date
    Apr 2003
    Posts
    853

    Smile

    Okay...I am by no means an expert but HTML language is different from the language used by word processing programs like WordPerfect....

    So certain special characters probably wonb't be recognized by your printer then.

    I imagine there would be a way to download special font or something for the printer to utilize...

  3. #3
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    10,413
    Be sure to set a charset for your HTML document.

    Jona

  4. #4
    Join Date
    Apr 2003
    Posts
    853
    I thought CHARSET was pretty standard setting in HTML...if not automatic....

  5. #5
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    10,413
    The charset required to use the arrow character that gizmo wants. The browser automatically has a charset set, but if you use a character that is not in that charset in the document, it will not display properly, which is why you should use a META tag to define the charset.

    I'm not sure if this works, because I don't commonly try to print things out; however if it does not work, there should be an at-rule for print media to specify this in CSS (possibly).


    Jona

  6. #6
    Join Date
    May 2003
    Location
    Andover, UK
    Posts
    410
    I have been using the line
    <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> in the header. Perhaps I should try a different one.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles