ã¯ããã« MacãLinuxã§ZIPãã¡ã¤ã«ãä½ãã¨Windowsã§æååãããå ´åãããã¾ãã Shift-JISã«å¯¾å¿ããã½ããã使ç¨ããã°è¯ãã®ã§ããä»å㯠golang ã§ããã£ã¨å§ç¸®ããã°ã©ã ãä½ã£ã¦ã¿ã¾ãã ãã£ã¦ã¿ãã å¿ ç¨ãªãã® golang ä»æ§ CLIã³ãã³ã å ¥åæåã³ã¼ãã¯UTF8åºå®ï¼MacãLinuxå ±ã«UTF8ãããã©ã«ãæåã³ã¼ãï¼ ãã©ã¡ã¼ã¿ã§å§ç¸®å¯¾å¦ãã©ã«ããæå®ãã Windowsã§æååãããªãããã«ãã¡ã¤ã«ï¼ãã©ã«ãåãCP932ã«å¤æãã¦ä¿åãã å®è£ ã¾ãã¯UTF8æåå -> Shift-JISæååã®å¤æé¢æ°ãç¨æãã¾ãã func Utf82Sjis(str string) (string, error) { iostr := strings.NewReader(str) rio := transform.NewReader(iostr,
{{#tags}}- {{label}}
{{/tags}}