PC Review


Reply
Thread Tools Rate Thread

Characters that Notepad cannot display???

 
 
Bruce W.1
Guest
Posts: n/a
 
      30th Dec 2009

I'm stumped. Here's my quandry.

Gmail displays horizontal rules <hr> inserted by other mail clients like
Outlook Express into email messages, though it does not enable <hr>
insertions by Gmail users.

A <hr> can however be copied from and back into a message within Gmail.

Whatsmore, this <hr> once copied from Gmail can also be pasted into MS
Word. This means that the <hr> is stored on the Windows Clipboard.

Here's the mystery. When pasted into Notepad (or other text editors) it
displays nothing but whitespace. How can this be? Are there characters
(in this case representing a <hr>) which Notepad cannot display? MS
Word can display it as a horizontal line or rule.

What is the mystery data on the clipboard and how can I see its coding?

Thanks for your help.
 
Reply With Quote
 
 
 
 
Pegasus [MVP]
Guest
Posts: n/a
 
      30th Dec 2009


"Bruce W.1" <(E-Mail Removed)> said this in news item
news:(E-Mail Removed)...
> I'm stumped. Here's my quandry.
>
> Gmail displays horizontal rules <hr> inserted by other mail clients like
> Outlook Express into email messages, though it does not enable <hr>
> insertions by Gmail users.
>
> A <hr> can however be copied from and back into a message within Gmail.
>
> Whatsmore, this <hr> once copied from Gmail can also be pasted into MS
> Word. This means that the <hr> is stored on the Windows Clipboard.
>
> Here's the mystery. When pasted into Notepad (or other text editors) it
> displays nothing but whitespace. How can this be? Are there characters
> (in this case representing a <hr>) which Notepad cannot display? MS Word
> can display it as a horizontal line or rule.
>
> What is the mystery data on the clipboard and how can I see its coding?
>
> Thanks for your help.


You can examine the binary codes in any file with a binary viewer/editor,
e.g. with xvi32.exe (http://www.chmaas.handshake.de). To avoid getting lost
in the code, do this:
1. Paste your magic characters into an emtpy Word document.
2. Put some markers, e.g. ***, in front and after them.
3. Save and close the file.
4. Open it with your binary viewer/editor.
5. Find the markers.
What are the ASCII numbers for the magic characters in the center panel?

 
Reply With Quote
 
Andrew McLaren
Guest
Posts: n/a
 
      31st Dec 2009

Bruce W.1 wrote:

> Gmail displays horizontal rules <hr> inserted by other mail clients like
> Outlook Express into email messages, though it does not enable <hr>
> insertions by Gmail users.
> displays nothing but whitespace. How can this be? Are there characters
> (in this case representing a <hr>) which Notepad cannot display?


The issue is not so much whether Notepad can display the characters, as
whether the default font in Notepad contains the necessary glyphs to
display the character.

MS Word, as a full-featured word-processing application, has special
smarts to display horizontal rules, em rules and other exotica, even
when the font is set to Arial or Calibri.

In Unicode, the em rule is U+2014. Most Windows fonts support Unicode;
but they don't contain the full 65,536 glyphs, to prevent the font files
becoming huge. If you set the default font in Notepad to be one of the
fonts which contains the full Unicode character set, the em rules will
display correctly.

(Those fonts usually have "Unicode" in their name; eg Lucida sans
Unicode, or Arial Unicode).

Applications which use legacy (outdated) character sets like ASCII or
ANSI, obviously will have problems with chars from an extended character
set. But Notepad is fully Unicode-capable (in fact Notepad.exe is
basically just a window around the Windows text edit control).

Hope it helps,

Andrew

--
amclar at optusnet dot com dot au
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Entering Unicode Characters in Notepad Nathan Sokalski Windows XP General 5 16th Jul 2011 09:27 AM
Notepad not able to see chinese characters Benjamin Windows XP Help 2 14th Apr 2010 07:18 PM
strange characters in notepad, outlook express, access, etc. Gary Roach Windows XP General 2 21st Jan 2004 08:52 PM
still get strange characters in notepad, outlook express, access, etc. Gary Roach Windows XP General 0 21st Jan 2004 04:48 PM
strange characters in notepad, outlook express, access, etc. Gary Roach Windows XP General 10 18th Jan 2004 02:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:55 PM.