25

Upon reviewing the MIME source for an email (presumably containing international characters), I see stuff like this in Notepad++

enter image description here

I understand that CRLF is carriage return line feed, but what about the others? What do SOH, GS, and STX mean?

Steven
  • 28,386
Mike B
  • 2,720

2 Answers2

25

Notepad++ uses these symbols to represent control characters or non-printing characters.

Control character - Wikipedia

A control character or non-printing character is a code point (a number) in a character set, that does not represent a written symbol.

C0 and C1 control codes - Wikipedia

STX - Start of Text - First character of message text, and may be used to terminate the message heading.

SOH - Start of Header - First character of a message header.

GS - Group Separator - Can be used as delimiters to mark fields of data structures. If used for hierarchical levels, US is the lowest level (dividing plain-text data items), while RS, GS, and FS are of increasing level to divide groups made up of items of the level beneath it.

Steven
  • 28,386
11

SOH is Start Of Header;

STX is Start of TeXt;

GS is Group Separator.

Unknow0059
  • 113
  • 1
  • 2
  • 16
td512
  • 5,170