2016-06-21から1日間の記事一覧
The two files have different charset and line separator. see details the below. filename line separator charset contents filesjis.txt CR LF sjis 1行め 2行め fileutf8.txt LF utf8 1行め 2行め I just wanted to know how to write and read f…
改行コードを確認したかったので、9行目で明示的にWindowsの「CR」「LF」(\r\n)を指定した場合と、10行目でシステムプロパティより改行コードを取得した場合(Mac)の違いをHexdecimal表示、Binary表示してみました。 結果は以下のように表示されま…