javaasciiword-processor

Unassigned chars in the ascii spectrum?


Are there any unassigned, invisible, characters in the ascii spectrum that I could safely use as newline markers? The idea is to build a Java wordprocessor to edit Markdown in a wysiwyg fashion (like SO) but in the frame displaying the parsed markdown (unlike SO).


Solution

  • Every character in ASCII (0x00 - 0x7F) (http://en.wikipedia.org/wiki/ASCII) has been assigned a proper meaning. But why don't you simply use \n (0x0a) as newline?