update table_name
set value = replace(value, char(код символа ¶), concat(char(код символа \r), char(код символа\n)))
select value,
replace(value, char(код символа ¶), concat(char(код символа \r), char(код символа\n))) as new_value
from table_name
{"1":{"type":"2","block_heading":{"1":""},"block_content":{"1":""},"html":{"1":"<div class="footer-left">
<span class="logo">
<a href="index.php" title="Porto eCommerce Template">
<img class="img-responsive" src="image\/catalog\/proizvoditeli\/lokmat.jpg" alt="Porto eCommerce" width="75">
<\/a>
<\/span>
<div class="social-icons">
<a href="https:\/\/www.facebook.com\/lockmatukraine\/" class="social-icon icon-facebook" target="_blank">
<i class="fa fa-facebook"><\/i>
<\/a>
<a href="https:\/\/www.instagram.com\/lock_mat_ukraine\/" class="social-icon icon-twitter" target="_blank">
<i class="fa fa-instagram"><\/i>
<\/a>
<a href="https:\/\/vk.com\/lockmat" class="social-icon icon-linkedin" target="_blank">
<i class="fa fa-vk"><\/i>
<\/a>
<\/div>
<\/div><!-- End .footer-left -->
<div class="footer-center">
<a style="color:#fff; text-decoration: underline" href=".\/dostavka-oplata"> \u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u0438 \u043e\u043f\u043b\u0430\u0442\u0430<\/a> &nbsp;
<a style="color:#fff; text-decoration: underline" href=".\/vozvrat"> \u0412\u043e\u0437\u0432\u0440\u0430\u0442 <\/a>
<\/div><!-- End .footer-center -->
<div class="footer-right">
\u00a9 Copyright 2017-2020. Lock-Mat. \u0412\u0441\u0435 \u043f\u0440\u0430\u0432\u0430 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u044b
<\/div><!-- End .footer-right -->"},"layout_id":"99999","position":"bottom","status":"1","sort_order":""}}
{"1":{"type":"2","block_heading":{"1":""},"block_content":{"1":""},"html":{"1":"<div class="footer-left">\r\n <span class="logo">\r\n <a href="index.php" title="Porto eCommerce Template">\r\n <img class="img-responsive" src="image\/catalog\/proizvoditeli\/lokmat.jpg" alt="Porto eCommerce" width="75">\r\n <\/a>\r\n <\/span>\r\n <div class="social-icons">\r\n <a href="https:\/\/www.facebook.com\/lockmatukraine\/" class="social-icon icon-facebook" target="_blank">\r\n <i class="fa fa-facebook"><\/i>\r\n <\/a>\r\n <a href="https:\/\/www.instagram.com\/lock_mat_ukraine\/" class="social-icon icon-twitter" target="_blank">\r\n <i class="fa fa-instagram"><\/i>\r\n <\/a>\r\n <a href="https:\/\/vk.com\/lockmat" class="social-icon icon-linkedin" target="_blank">\r\n <i class="fa fa-vk"><\/i>\r\n <\/a>\r\n <\/div>\r\n <\/div><!-- End .footer-left -->\r\n\r\n <div class="footer-center">\r\n <a style="color:#fff; text-decoration: underline" href=".\/dostavka-oplata">\t\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u0438 \u043e\u043f\u043b\u0430\u0442\u0430<\/a> &nbsp;\r\n <a style="color:#fff; text-decoration: underline" href=".\/vozvrat"> \u0412\u043e\u0437\u0432\u0440\u0430\u0442 <\/a>\r\n <\/div><!-- End .footer-center -->\r\n\r\n <div class="footer-right">\r\n \u00a9 Copyright 2017-2020. Lock-Mat. \u0412\u0441\u0435 \u043f\u0440\u0430\u0432\u0430 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u044b\r\n <\/div><!-- End .footer-right -->"},"layout_id":"99999","position":"bottom","status":"1","sort_order":""}}
SELECT value,
replace(replace(replace(value, char(0x0A using utf8), '\n'), char(0xc2b6 using utf8), '\r\n'), char(0x0D using utf8), '\r') AS new_value
FROM table_name
SELECT value,
replace(replace(replace(value, char(0x0A using utf8), '\\n'), char(0xc2b6 using utf8), '\\r\\n'), char(0x0D using utf8), '\\r') AS new_value
FROM table_name
SELECT value,
replace(replace(replace(value, char(0x0A using utf8), '\\n'), char(0xc2b6 using utf8), '\\r\\n'), char(0x0D using utf8), '\\r') AS new_value
FROM table_name
update table_name
set value = replace(replace(replace(value, char(0x0A using utf8), '\n'), char(0xc2b6 using utf8), '\r\n'), char(0x0D using utf8), '\r')
update oc_setting
set value = replace(replace(replace(value, char(0xB6 using utf8), '\n'), char(0xB6 using utf8), '\r\n'), char(0xB6 using utf8), '\r')
select *
from oc_setting
where value like concat('%', char(182), '%')
-- value like concat('%', char(1987), '%')
-- value like concat('%', char(0xB6), '%')
-- value like concat('%', char(0x00B6), '%')
-- value like concat('%', char(0xB6 using utf8), '%')
-- value like concat('%', char(0x00B6 using utf8), '%')
select *
from oc_setting
where value like concat('%', char(0xB6 using utf8), '%')
-- value like concat('%', char(0x00B6 using utf8), '%')
update oc_setting
set value = replace(replace(replace(value, char(0x00B6using utf8), '\n'), char(0x00B6using utf8), '\r\n'), char(0x00B6using utf8), '\r')
? select value,
replace(replace(value, char(0xB6 using utf8), '\r\n'), char(0x00B6 using utf8), '\r\n') as new_value
from oc_setting
where value like concat('%', char(0xB6 using utf8), '%')
or value like concat('%', char(0x00B6 using utf8), '%')
select ASCII('¶')
select value,
replace(value, char(ASCII('¶')), '\r\n') as new_value,
ASCII('¶') as search_code_symbol
from oc_setting
where value like concat('%', char(ASCII('¶')), '%')
select value,
replace(value, char(0x00B6 using utf8), '\r\n') as new_value_1,
replace(value, char(0xB6 using utf8), '\r\n') as new_value_2
from oc_setting
where value like concat('%', char(0xB6 using utf8), '%')
or value like concat('%', char(0x00B6 using utf8), '%')