<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kagasu</author_name>
  <author_url>https://blog.hatena.ne.jp/kagasu/</author_url>
  <blog_title>備忘録</blog_title>
  <blog_url>https://kagasu.hatenablog.com/</blog_url>
  <categories>
    <anon>PowerShell</anon>
  </categories>
  <description>Ⅰ. はじめに タイトルの通り「Powershell スクリプト（ps1 ファイル）をUTF-8で利用する場合の注意点」です。 Ⅱ. 注意点 2点あります。 1. 必ずUTF-8 BOM付きで保存する BOM無しの場合文字化けする場合がある為 スクリプト署名時UTF-8 BOM付きが必須条件な為 ※UTF-8 BOM無の場合スクリプトが正常に実行されない事がありました。 2. ファイル先頭でエンコーディングを指定する test.ps1 $OutputEncoding = [Text.Encoding]::UTF8 # do something 参考 https://social.technet…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkagasu.hatenablog.com%2Fentry%2F2019%2F07%2F17%2F100513&quot; title=&quot;Powershell スクリプト（ps1 ファイル）をUTF-8で利用する場合の注意点 - 備忘録&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-07-17 10:05:13</published>
  <title>Powershell スクリプト（ps1 ファイル）をUTF-8で利用する場合の注意点</title>
  <type>rich</type>
  <url>https://kagasu.hatenablog.com/entry/2019/07/17/100513</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
