Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Comercial
    • Calculadora

0

130
Vistas
Convert ANSI encoding to another encoding through the Linux shell

How can I code from the Linux shell? I have a package of CSV files in ANSI and I want to convert to an encoding that doesn't have accents: ã, ç, á, í ...

How can I do it without involving any programming language?

9 months ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Assuming you're using the GNU version of iconv(1) (Since you have this tagged linux it seems a safe bet):

iconv -f MS-ANSI -t US-ASCII//TRANSLIT input.csv > output.csv

(I'm guessing on the MS-ANSI from encoding; iconv --list | grep -Fi ANSI shows several other possibilities. Or your source character set could be something completely different.)

9 months ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos