본문 바로가기

JAVA/Study...

ASCII 와 escape문자

ASCII ... BCD... EBCDIC... UNICODE....

자세한 설명은 생략한다.


그냥 ascii 코드 값만 올림.





아래는 escape 문자


\b : Backspace

\f : Form feed (rarely used)

\n : Line feed (newline)

\r : Carriage return. Use with the line feed (\r\n) to format output.

\t : Horizontal tab

\v : Vertical tab. Not compliant with ECMAScript standard and incompatible with Microsoft Internet Explorer 6.0.

\' : Single quote (')

\" : Double quote (")

\\ : Backslash (\)

\n : ASCII character represented by the octal number n. The value of n must be in the range 0 to 377 (octal).

\xhh : ASCII character represented by the two-digit hexadecimal number hh.

\uhhhh : Unicode character represented by the four-digit hexadecimal number hhhh.




반응형

'JAVA > Study...' 카테고리의 다른 글

UML 표기법 & 변수 표기법  (0) 2015.02.06
이클립스 (Tip)쉽게 사용하기  (0) 2015.02.06
쪽지시험 ①  (0) 2015.02.06
sizeof Object  (0) 2015.02.05