mariocatch
mariocatch

Reputation: 8693

How to identify and replace an unfamiliar character from a file?

There's a character in a text file supplied to my software that I cannot read back out.

I can't even paste this character into the browser to search for it - it just inserts a white space.

If I read this text file's contents, the character comes out as '\f', which is a form feed character.

Notepad shows a bold up arrow. Other text editors (Sublime) shows an unrecognized symbol.

How can I find out what character this is?

Upvotes: 0

Views: 99

Answers (1)

Trey
Trey

Reputation: 413

The question was

How can I find out what character set this is from?

ASCII.(https://en.wikipedia.org/wiki/Page_break#Form_feed)

To answer the question of why it does not display... think of it as a command. When a printer(for example) sees a form feed, it advances the page by 1. You cannot see it in your editor because per @dlatikay :

notepad renders it as ↑ because that's a visual cue for "feed paper until first line of next page

Upvotes: 2

Related Questions