文字化けするテキストを結合するとき
この記事のポイント
- 各ファイルの先頭を確認する
- 結合する
- 文字化けしたら文字コードを直す
テキストファイルを結合・分割する は、UTF-8とShift_JISを、自動で判定して結合します。
手順
- 選んだファイルの、先頭の表示を確認する
- 結合して保存する
- 文字化けしたら、文字コードを変換するで直す
判定は、ファイルごとに行われます。
テキストファイルを結合・分割するを使う(無料)
あわせて使えるツール
- 文章の改行を消す・整える:PDFなどからコピーした文章の改行を整えます。
- 文字コードを変換する(文字化けを直す):Shift_JIS・UTF-8・EUC-JPなどの文字コードを変換し、文字化けを直します。
- CSVを結合・分割・列抜き出し:CSVの結合・行数での分割・列の取り出しをします。
同じツールの、ほかの解説
Merging Text That Looks Garbled
Key points
- Check the start of each file
- Merge
- Fix the encoding if garbled
Merge and Split Text Files detects UTF-8 and Shift_JIS automatically and merges them.
Steps
- Check the preview of the first file
- Merge and save
- If garbled, fix it with Convert Text Encoding
Detection is done per file.
Use "Merge and Split Text Files" (free)
Tools that go well with this
- Remove and Tidy Line Breaks in Text: Tidy line breaks in text copied from PDFs and elsewhere.
- Convert Text Encoding (Fix Garbled Text): Convert text files between Shift_JIS, UTF-8, EUC-JP and more to fix garbled text.
- Merge, Split and Pick Columns from CSV: Merge CSV files, split by rows, or keep only chosen columns.