How to convert csv files encoding to utf-8

前端 未结 5 1377
误落风尘
误落风尘 2020-12-15 17:39

Is it possible to convert csv data that has iso-8859-13 encoding to UTF-8?

My old system does not have UTF-8 encoding, it uses

相关标签:
5条回答
  • 2020-12-15 17:56

    For those who don't know how to convert the file's encoding using Notepad++ : Create a new file in Notepad++ -> Go to Encoding -> Encode in UTF-8 -> Copy-paste the contents -> save the file as .csv

    0 讨论(0)
  • 2020-12-15 18:00

    I was able to convert simply using text editor. I opened csv file with iso-8859-13 encoding. Then created empty csv file with utf-8. Then simply copied everything from one csv to another. Then I could import it into new system.

    Previously I tried to do this with libreoffice, but for some reason it would save with iso-8859-13 encoding.

    0 讨论(0)
  • 2020-12-15 18:05

    For me worked that way: Open CSV file with regular Notepad. Save as in Notepad and set encoding like in picture.Encoding

    0 讨论(0)
  • 2020-12-15 18:11

    Copying .csv content from Excel to Notepad++ does not preserve format, open original .csv in Notepad++ and copy from there.

    1. Once opened in Notepad++, create new file in Notepad++ using 'Crtl + n'.
    2. Go to Encoding -> Convert to UTF-8-BOM -> Copy-paste the contents -> save the file as .csv.

    (Windows 10)

    0 讨论(0)
  • 2020-12-15 18:16

    Open the file in Notepad++ and click Encoding->Convert to UTF-8.

    (Do not click Encode in UTF-8 because it won't actually convert the characters.)

    0 讨论(0)
提交回复
热议问题