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

cherubin

Client
Регистрация
06.06.2016
Сообщения
92
Благодарностей
6
Баллы
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 ?

 

EtaLasquera

Client
Регистрация
02.01.2017
Сообщения
526
Благодарностей
112
Баллы
43
We always use this....
Код:
byte[] ansiFile = File.ReadAllBytes("inputfilename.txt");
var utf8String = Encoding.Default.GetString(ansiFile);
File.WriteAllText("outputfilename.txt", utf8String);
 

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