0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Power Automate】CSV ファイルを UTF-8 (BOM付き) で作成する

Posted at

🎯 目的

[ファイルの作成] アクションで CSV ファイルを作成すると UTF-8 (BOMなし) で保存されるため、Excel で開いた際に日本語が文字化けしてしまいます。

文字化けなく開くため、UTF-8 (BOM付き) でファイルを保存する方法です。

🛠 設定手順

1. CSV テーブルの作成

  • 任意のデータを元に CSV テーブルを生成

2. ファイルの作成

image.png

  • ファイル コンテンツ 欄に以下を入力
    • %EF%BB%BF → UTF-8 BOM バイト列
    • CSV 本文
concat(
    decodeUriComponent('%EF%BB%BF'),
    body('CSV_テーブルの作成')
)

🔗 参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?