Перейти к основному содержанию
Блог Антона К.
Портфолио
Как удалить из строки метку UTF-8 with BOM
Теги:
php
$bom = pack('H*', 'EFBBBF'); $string = preg_replace("/^$bom/", '', $string);
bash
bitrix
bitrix24
css
docker
git
github
highload
html
js
linux
management
mysql
php
python
ssh
symfony
ubuntu
windows
ооп