Does it exist an easy way (no C#) to convert iso-8859-1 to utf8 without BOM ?

  • Автор темы Автор темы cherubin
  • Дата начала Дата начала

cherubin

Client
Регистрация
06.06.2016
Сообщения
92
Реакции
7
Баллы
8
Hi,

I'm looking for an solution to convert text or table/list content from iso-8859-1 to utf8 no bom.

I found theses topics however it seems all use C# or the template made by Rostonix but it's a lot of elements just for converting. Maybe the new zenno version include latin converter somewhere ?

 
We always use this....
Код:
Развернуть Свернуть Копировать
byte[] ansiFile = File.ReadAllBytes("inputfilename.txt");
var utf8String = Encoding.Default.GetString(ansiFile);
File.WriteAllText("outputfilename.txt", utf8String);
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)