Created
October 19, 2023 07:03
-
-
Save kinuasa/2cf46636f864be104c6a2d9bb924163e to your computer and use it in GitHub Desktop.
全角文字を半角に変換するPowerShellスクリプト
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add-Type -AssemblyName 'Microsoft.VisualBasic' | |
$str = [Microsoft.VisualBasic.Strings]::StrConv('令和5年10月19日 01:23:45', [Microsoft.VisualBasic.VbStrConv]::Narrow, 1041) | |
Write-Output $str |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment