Replace UTF-8 characters with shell perl – unix.stackexchange.com 09:01 Posted by Unknown No Comments How do I get perl to properly replace UTF-8 character from a shell? This is what I expect: $ echo ABCæøåDEF | perl -CS -pe "s/([æøå])/[\\1]/g" ABC[æ][ø][å]DEF This is what I get: $ echo ABCæøåDEF ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Unknown
0 Comment to "Replace UTF-8 characters with shell perl – unix.stackexchange.com"
Post a Comment