Here with CentOS this worked:
iconv --from-code=ISO-8859-15 --to-code=UTF-8 table.csv
1,Barcelona,24,8,4,0,0,4,0,0,28,6
2,At. Madrid,24,8,4,0,0,4,0,0,21,6
3,Real Madrid,19,8,3,0,1,3,1,0,17,9
4,Villarreal,17,8,3,1,0,2,1,1,15,7
5,Getafe,13,8,3,1,0,1,0,3,12,11
6,Athletic,13,8,3,1,0,1,0,3,13,13
7,Valencia,13,8,3,0,1,1,1,2,11,11
8,Espanyol,11,8,2,1,1,1,1,2,11,11
9,Levante,10,8,0,3,1,2,1,1,8,14
10,Málaga,9,8,2,0,2,0,3,1,11,7
11,Sevilla,9,8,2,1,1,0,2,2,13,14
12,Elche,9,8,1,2,1,1,1,2,8,11
13,Betis,8,8,2,1,1,0,1,3,8,10
14,Granada,8,8,1,0,3,1,2,1,5,8
15,R. Sociedad,7,8,1,2,1,0,2,2,6,9
16,Celta,6,8,0,3,1,1,0,3,8,12
17,Valladolid,6,8,1,1,2,0,2,2,7,13
18,Osasuna,6,8,1,0,3,1,0,3,6,13
19,Rayo ,6,8,2,0,2,0,0,4,6,21
20,Almería,3,8,0,2,2,0,1,3,11,19
(You would redirect to a new file)
---
If you need to make some processing scripts before passing data to gretl, there are some techniques to explore. I would take a look to the browser PhantomJS (that runs Javascript and outputs to console).