Explorar o código

Custom mapping for é

Zachary Kotlarek %!s(int64=12) %!d(string=hai) anos
pai
achega
a9a6e94850
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      plexCmd/recentlyUnwatched.sh

+ 1 - 0
plexCmd/recentlyUnwatched.sh

@@ -76,6 +76,7 @@ for i in $SERIES; do
 
 		# Print the name, decoding both hex encoding and XML entities
 		echo "${j}" | \
+			sed 's/%C3%A9/é/' | \
 			perl -pe 's/%([0-9a-f]{2})/sprintf("%s", pack("H2",$1))/eig' | \
 			perl -e 'use XML::Entities; while (<>) { print XML::Entities::decode('all', $_); }'
 	done