Legacy Knowledge Base
公開されました Jul. 2, 2025

アクセント付きの.CSVファイルにエクスポートしたデータがMS Excelに正しくインポートされない

Written By

Justin Mann

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • Liferayに保存されている連絡先のデータを.CSVファイルにエクスポートした後、その.CSVファイルをMicrosoft Excelにインポートしようとすると、アクセントを含む文字や単語(例: á, é, í, ó, ú)がある場合、これらの文字が他の記号や文字に置き換えられてしまうことがわかりました。

環境への配慮

  • この問題はMicrosoft Excelでのみ再現可能で、LibreOffice Calcでは再現できませんでした。

決議

  • これは、LiferayがUTF-8エンコーディングを使用してエントリを.CSVファイルにエクスポートするために発生します。 しかし、Microsoft ExcelはデフォルトではUTF-8エンコーディングを使用して.CSVファイルをインポートしないため、アクセント付きの文字が正しく表示されません。
  • 以下の手順では、アクセント付きの文字が正しく表示されるようにデータをインポートする方法を提供します。
    1. Microsoft Excelを開く
    2. ファイルの選択 -> 新規
    3. データ] タブを選択します。
    4. テキストから」を選択し、.CSVファイルを選択します。
    5. "Delimited "を選択
    6. ファイルの送信元」は「65001:Unicode(UTF-8)」を選択してください。
    7. 次へ」を選択
    8. カンマ」を選択
    9. 完了 "を選択します。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base