R
R
Roman Kutenko2016-05-30 08:46:46
linux
Roman Kutenko, 2016-05-30 08:46:46

How to recursively change the encoding of files with automatic detection of the current encoding?

Good day. Tell me how to change the file encoding recursively with automatic detection of the current encoding?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IceJOKER, 2016-05-30
@IceJOKER

php.net/manual/ru/class.recursivedirectoryiterator.php // for recursion
php.net/manual/ru/function.mb-detect-encoding.php // encoding detection
php.net/manual/ru/function.mb-convert-encoding.php // конвертация кодировки

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question