Process Accented Characters

variable List
variable Text
variable Name
variable Count
variable N

rest get List from `rem_cartoons/names/0/1000`
put the json count of List into Count
put 0 into N
while N is less than Count
begin
  put element N of List into Name
  replace ` ` with `%20` in Name
  rest get Text from `rem_cartoons/name/` cat Name
  decode Text
  replace `Å“` with `œ` in Text
  replace `‘` with `‘` in Text
  replace `’` with `’` in Text
  replace `«` with `“` in Text
  replace `»` with `”` in Text
  replace `à¢` with `â` in Text
  replace `Ã` with `à` in Text
  replace `à§` with `ç` in Text
  replace `à©` with `é` in Text
  replace `àª` with `ê` in Text
  replace `à¨` with `è` in Text
  replace `à‰` with `È` in Text
  replace `à®` with `î` in Text
  replace `à¬` with `ì` in Text
  replace `à´` with `ô` in Text
  replace `à²` with `ò` in Text
  replace `à¹` with `ù` in Text
!  replace `à´` with `ù` in Text
  print Text

  rest post encode Text to `rem_cartoons/set/name/` cat Name
  add 1 to N
end