{"id":309734,"date":"2020-09-10T09:00:47","date_gmt":"2020-09-10T09:00:47","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=309734"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2020-09-10T09:00:47","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=309734","title":{"rendered":"\u0424\u0443\u043d\u043a\u0446\u0438\u044f-\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0435\u0440 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u0432 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c \u0438\u0437 \u041c\u0438\u043a\u0440\u043e\u0442\u0438\u043a \u0420\u043e\u0443\u0442\u0435\u0440\u041e\u0421"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/518534\/\">\u041c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c \u043a\u0440\u0430\u0439\u043d\u0435 \u0443\u0434\u043e\u0431\u0435\u043d \u0434\u043b\u044f \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u0440\u0430\u0431\u043e\u0442\u0435 IT-\u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f, \u0447\u0435\u043c \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0421\u0438\u0441\u0410\u0434\u043c\u0438\u043d\u044b. \u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435 WhatsApp \u0438 Viber \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 API \u043d\u043e \u0432 \u043d\u0438\u0445 \u043d\u0435\u0442 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0439 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0438\u0445 \u0431\u043e\u0442\u043e\u0432. <\/p>\n<p>  \u0420\u043e\u0443\u0442\u0435\u0440\u041e\u0421 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u041c\u0438\u043a\u0440\u043e\u0442\u0438\u043a \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0448\u0442\u0430\u0442\u043d\u044b\u043c\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u0432 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c. \u0420\u0443\u0441\u0441\u043a\u0438\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u044b \u0432 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u0445, \u0435\u0441\u043b\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u0432 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0435 UTF-8. \u041d\u0443 \u0447\u0442\u043e \u0436\u0435 \u043a\u043e\u0434\u044b \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b, \u043f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u043d\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0449\u0438\u043a?<br \/>  \u0414\u043b\u044f \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447\u0438 \u044f \u043d\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430\u043c\u0438 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f, \u0430 \u0441\u043e\u0437\u0434\u0430\u043b \u043a\u043b\u044e\u0447\u0435\u0432\u043e\u0439 \u043c\u0430\u0441\u0441\u0438\u0432, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0432 \u0432\u0438\u0434\u0435 \u043a\u043b\u044e\u0447\u0435\u0439 \u0441\u0430\u043c\u0438 \u0440\u0443\u0441\u0441\u043a\u0438\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u043e\u0439 \u0438 \u043f\u0440\u043e\u043f\u0438\u0441\u043d\u043e\u0439 \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0430\u0445, \u0430 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0438\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u0445 \u2014 \u043a\u043e\u0434\u044b \u044d\u0442\u0438\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 UTF-8.<\/p>\n<p>  <b>\u0412\u043e\u0442 \u044d\u0442\u043e\u0442 \u043c\u0430\u0441\u0441\u0438\u0432 \u0434\u0430\u043d\u043d\u044b\u0445, \u043c\u043e\u0436\u0435\u0442 \u0438 \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u0437\u0430\u0434\u0430\u0447 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f:<\/b><br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u043a\u043b\u044e\u0447\u0435\u0432\u043e\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0440\u0443\u0441\u0441\u043a\u043e\u0433\u043e \u0430\u043b\u0444\u0430\u0432\u0438\u0442\u0430 \u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0438\u0445 \u043a\u043e\u0434\u043e\u0432 \u0432 UTF8<\/b>                         <\/p>\n<div class=\"spoiler_text\"># table of the codes of Russian letters UTF8<br \/>  :local rsimv [:toarray {\u00ab\u0410\u00bb=\u00abD090\u00bb; \u00ab\u0411\u00bb=\u00abD091\u00bb; \u00ab\u0412\u00bb=\u00abD092\u00bb; \u00ab\u0413\u00bb=\u00abD093\u00bb; \u00ab\u0414\u00bb=\u00abD094\u00bb; \u00ab\u0415\u00bb=\u00abD095\u00bb; \u00ab\u0416\u00bb=\u00abD096\u00bb; \u00ab\u0417\u00bb=\u00abD097\u00bb; \u00ab\u0418\u00bb=\u00abD098\u00bb; \u00ab\u0419\u00bb=\u00abD099\u00bb; \u00ab\u041a\u00bb=\u00abD09A\u00bb; \u00ab\u041b\u00bb=\u00abD09B\u00bb; \u00ab\u041c\u00bb=\u00abD09C\u00bb; \u00ab\u041d\u00bb=\u00abD09D\u00bb; \u00ab\u041e\u00bb=\u00abD09E\u00bb; \u00ab\u041f\u00bb=\u00abD09F\u00bb; \u00ab\u0420\u00bb=\u00abD0A0\u00bb; \u00ab\u0421\u00bb=\u00abD0A1\u00bb; \u00ab\u0422\u00bb=\u00abD0A2\u00bb; \u00ab\u0423\u00bb=\u00abD0A3\u00bb; \u00ab\u0424\u00bb=\u00abD0A4\u00bb; \u00ab\u0425\u00bb=\u00abD0A5\u00bb; \u00ab\u0426\u00bb=\u00abD0A6\u00bb; \u00ab\u0410\u00bb=\u00abD0A7\u00bb; \u00ab\u0428\u00bb=\u00abD0A8\u00bb; \u00ab\u0429\u00bb=\u00abD0A9\u00bb; \u00ab\u0430\u00bb=\u00abD0AA\u00bb; \u00ab\u042b\u00bb=\u00abD0AB\u00bb; \u00ab\u042c\u00bb=\u00abD0AC\u00bb; \u00ab\u042d\u00bb=\u00abD0AD\u00bb; \u00ab\u042e\u00bb=\u00abD0AE\u00bb; \u00ab\u042f\u00bb=\u00abD0AF\u00bb; \u00ab\u0430\u00bb=\u00abD0B0\u00bb; \u00ab\u0431\u00bb=\u00abD0B1\u00bb; \u00ab\u0432\u00bb=\u00abD0B2\u00bb; \u00ab\u0433\u00bb=\u00abD0B3\u00bb; \u00ab\u0434\u00bb=\u00abD0B4\u00bb; \u00ab\u0435\u00bb=\u00abD0B5\u00bb; \u00ab\u0436\u00bb=\u00abD0B6\u00bb; \u00ab\u0437\u00bb=\u00abD0B7\u00bb; \u00ab\u0438\u00bb=\u00abD0B8\u00bb; \u00ab\u0439\u00bb=\u00abD0B9\u00bb; \u00ab\u043a\u00bb=\u00abD0BA\u00bb; \u00ab\u043b\u00bb=\u00abD0BB\u00bb; \u00ab\u043c\u00bb=\u00abD0BC\u00bb; \u00ab\u043d\u00bb=\u00abD0BD\u00bb; \u00ab\u043e\u00bb=\u00abD0BE\u00bb; \u00ab\u043f\u00bb=\u00abD0BF\u00bb; \u00ab\u0440\u00bb=\u00abD180\u00bb; \u00ab\u0441\u00bb=\u00abD181\u00bb; \u00ab\u0442\u00bb=\u00abD182\u00bb; \u00ab\u0443\u00bb=\u00abD183\u00bb; \u00ab\u0444\u00bb=\u00abD184\u00bb; \u00ab\u0445\u00bb=\u00abD185\u00bb; \u00ab\u0446\u00bb=\u00abD186\u00bb; \u00ab\u0447\u00bb=\u00abD187\u00bb; \u00ab\u0448\u00bb=\u00abD188\u00bb; \u00ab\u0449\u00bb=\u00abD189\u00bb; \u00ab\u044a\u00bb=\u00abD18A\u00bb; \u00ab\u044b\u00bb=\u00abD18B\u00bb; \u00ab\u044c\u00bb=\u00abD18C\u00bb; \u00ab\u044d\u00bb=\u00abD18D\u00bb; \u00ab\u044e\u00bb=\u00abD18E\u00bb; \u00ab\u044f\u00bb=\u00abD18F\u00bb; \u00ab\u0401\u00bb=\u00abD001\u00bb; \u00ab\u0451\u00bb=\u00abD191\u00bb}]  <\/div>\n<\/p><\/div>\n<p>  <b>\u041f\u0438\u0448\u0435\u043c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u0430\u043c \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0435\u0440 \u0441\u0442\u0440\u043e\u043a\u0438.<\/b><\/p>\n<p>  \u041d\u0430 \u0432\u0445\u043e\u0434\u0435 \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 $string \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0430, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0430\u044f \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u0438\u043b\u0438 \u0441\u043c\u0435\u0448\u0430\u043d\u043d\u044b\u0439 \u0440\u0443\u0441\u0441\u043a\u043e-\u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439 \u0442\u0435\u043a\u0441\u0442. \u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u2014 \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430, \u0433\u043e\u0442\u043e\u0432\u0430\u044f \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0432 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u043b\u0430\u0442\u0438\u043d\u0441\u043a\u043e\u0433\u043e \u0430\u0444\u0430\u0432\u0438\u0442\u0430 \u0438 \u0437\u043d\u0430\u043a\u0438 \u043f\u0440\u0435\u043f\u0438\u043d\u0430\u043d\u0438\u044f \u043d\u0435 \u043f\u0435\u0440\u0435\u043a\u043e\u0434\u0438\u0440\u0443\u044e\u0442\u0441\u044f, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u0432 \u0447\u0430\u0442\u0430\u0445 \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440\u0430. \u0412\u043c\u0435\u0441\u0442\u043e \u0440\u0443\u0441\u0441\u043a\u0438\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0441\u0442\u0440\u043e\u043a\u0443 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0438\u0445 \u0430\u043d\u0430\u043b\u043e\u0433\u0438 \u0432 UTF-8 \u043a\u043e\u0434\u0430\u0445, \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0437\u043d\u0430\u043a\u0430\u043c\u0438 &quot;%&quot;, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u043a\u043e\u0434\u0430\u0445.<\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041a\u043e\u043d\u0432\u0435\u0440\u0442\u0435\u0440 \u0441\u043c\u0435\u0448\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438<\/b>                         <\/p>\n<div class=\"spoiler_text\"># encoding of the symbols and \u0430ssembly line<br \/>  :local StrTele &quot;&quot;; :local code &quot;&quot;;<br \/>  :for i from=0 to=([:len $string]-1) do={:local keys [:pick $string $i (1+$i)]; :local key ($rsimv-&gt;$keys); if ([:len $key]!=0) do={:set $code (&quot;%&quot;.&quot;$[:pick ($rsimv-&gt;$keys) 0 2]&quot;.&quot;%&quot;.&quot;$[:pick ($rsimv-&gt;$keys) 2 4]&quot;);} else={:set $code $keys}; :set $StrTele (&quot;$StrTele&quot;.&quot;$code&quot;)}  <\/div>\n<\/p><\/div>\n<p>  <b>\u041e\u0444\u043e\u0440\u043c\u0438\u043c \u0432\u0441\u0451 \u044d\u0442\u043e \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u044e FuncStrToTele, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u0435\u0451 \u0438\u0437 \u043b\u044e\u0431\u044b\u0445 \u0441\u0432\u043e\u0438\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0432 \u0420\u043e\u0443\u0442\u0435\u0440\u041e\u0441 \u041c\u0438\u043a\u0440\u043e\u0442\u0438\u043a. \u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0435\u0451 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 DUDe. \u0412\u043e\u0442 \u0451\u0451 \u043f\u043e\u043b\u043d\u044b\u0439 \u043a\u043e\u0434:<\/b><\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0424\u0443\u043d\u043a\u0446\u0438\u044f \u043f\u0435\u0440\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0438 \u0441\u043c\u0435\u0448\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 FuncStrToTele \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0432 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c<\/b>                         <\/p>\n<div class=\"spoiler_text\"># Function Converter of Russian characters for sending in Telegram<br \/>  # by Sertik 09\/09\/2020<br \/>  # usage [$FuncStrToTele \u00ab\u0421\u0442\u0440\u043e\u043a\u0430 String .,!+\u00bb]<\/p>\n<p>  :global FuncStrToTele do={<br \/>  :global string; :set $string $1;<\/p>\n<p>  # table of the codes of Russian letters UTF8<br \/>  :local rsimv [:toarray {\u00ab\u0410\u00bb=\u00abD090\u00bb; \u00ab\u0411\u00bb=\u00abD091\u00bb; \u00ab\u0412\u00bb=\u00abD092\u00bb; \u00ab\u0413\u00bb=\u00abD093\u00bb; \u00ab\u0414\u00bb=\u00abD094\u00bb; \u00ab\u0415\u00bb=\u00abD095\u00bb; \u00ab\u0416\u00bb=\u00abD096\u00bb; \u00ab\u0417\u00bb=\u00abD097\u00bb; \u00ab\u0418\u00bb=\u00abD098\u00bb; \u00ab\u0419\u00bb=\u00abD099\u00bb; \u00ab\u041a\u00bb=\u00abD09A\u00bb; \u00ab\u041b\u00bb=\u00abD09B\u00bb; \u00ab\u041c\u00bb=\u00abD09C\u00bb; \u00ab\u041d\u00bb=\u00abD09D\u00bb; \u00ab\u041e\u00bb=\u00abD09E\u00bb; \u00ab\u041f\u00bb=\u00abD09F\u00bb; \u00ab\u0420\u00bb=\u00abD0A0\u00bb; \u00ab\u0421\u00bb=\u00abD0A1\u00bb; \u00ab\u0422\u00bb=\u00abD0A2\u00bb; \u00ab\u0423\u00bb=\u00abD0A3\u00bb; \u00ab\u0424\u00bb=\u00abD0A4\u00bb; \u00ab\u0425\u00bb=\u00abD0A5\u00bb; \u00ab\u0426\u00bb=\u00abD0A6\u00bb; \u00ab\u0410\u00bb=\u00abD0A7\u00bb; \u00ab\u0428\u00bb=\u00abD0A8\u00bb; \u00ab\u0429\u00bb=\u00abD0A9\u00bb; \u00ab\u0430\u00bb=\u00abD0AA\u00bb; \u00ab\u042b\u00bb=\u00abD0AB\u00bb; \u00ab\u042c\u00bb=\u00abD0AC\u00bb; \u00ab\u042d\u00bb=\u00abD0AD\u00bb; \u00ab\u042e\u00bb=\u00abD0AE\u00bb; \u00ab\u042f\u00bb=\u00abD0AF\u00bb; \u00ab\u0430\u00bb=\u00abD0B0\u00bb; \u00ab\u0431\u00bb=\u00abD0B1\u00bb; \u00ab\u0432\u00bb=\u00abD0B2\u00bb; \u00ab\u0433\u00bb=\u00abD0B3\u00bb; \u00ab\u0434\u00bb=\u00abD0B4\u00bb; \u00ab\u0435\u00bb=\u00abD0B5\u00bb; \u00ab\u0436\u00bb=\u00abD0B6\u00bb; \u00ab\u0437\u00bb=\u00abD0B7\u00bb; \u00ab\u0438\u00bb=\u00abD0B8\u00bb; \u00ab\u0439\u00bb=\u00abD0B9\u00bb; \u00ab\u043a\u00bb=\u00abD0BA\u00bb; \u00ab\u043b\u00bb=\u00abD0BB\u00bb; \u00ab\u043c\u00bb=\u00abD0BC\u00bb; \u00ab\u043d\u00bb=\u00abD0BD\u00bb; \u00ab\u043e\u00bb=\u00abD0BE\u00bb; \u00ab\u043f\u00bb=\u00abD0BF\u00bb; \u00ab\u0440\u00bb=\u00abD180\u00bb; \u00ab\u0441\u00bb=\u00abD181\u00bb; \u00ab\u0442\u00bb=\u00abD182\u00bb; \u00ab\u0443\u00bb=\u00abD183\u00bb; \u00ab\u0444\u00bb=\u00abD184\u00bb; \u00ab\u0445\u00bb=\u00abD185\u00bb; \u00ab\u0446\u00bb=\u00abD186\u00bb; \u00ab\u0447\u00bb=\u00abD187\u00bb; \u00ab\u0448\u00bb=\u00abD188\u00bb; \u00ab\u0449\u00bb=\u00abD189\u00bb; \u00ab\u044a\u00bb=\u00abD18A\u00bb; \u00ab\u044b\u00bb=\u00abD18B\u00bb; \u00ab\u044c\u00bb=\u00abD18C\u00bb; \u00ab\u044d\u00bb=\u00abD18D\u00bb; \u00ab\u044e\u00bb=\u00abD18E\u00bb; \u00ab\u044f\u00bb=\u00abD18F\u00bb; \u00ab\u0401\u00bb=\u00abD001\u00bb; \u00ab\u0451\u00bb=\u00abD191\u00bb}]<\/p>\n<p>  # encoding of the symbols and \u0430ssembly line<br \/>  :local StrTele &quot;&quot;; :local code &quot;&quot;;<br \/>  :for i from=0 to=([:len $string]-1) do={:local keys [:pick $string $i (1+$i)]; :local key ($rsimv-&gt;$keys); if ([:len $key]!=0) do={:set $code (&quot;%&quot;.&quot;$[:pick ($rsimv-&gt;$keys) 0 2]&quot;.&quot;%&quot;.&quot;$[:pick ($rsimv-&gt;$keys) 2 4]&quot;);} else={:set $code $keys}; :set $StrTele (&quot;$StrTele&quot;.&quot;$code&quot;)}<\/p>\n<p>  :set $string $StrTele<br \/>  :return $string;<br \/>  }<\/p><\/div>\n<\/p><\/div>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u0438\u0437 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u0445\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 $string<\/p>\n<p>  \u0412 \u0441\u0432\u043e\u0438\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u0445 \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0442\u044c \u0440\u0430\u043d\u0435\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430:<\/p>\n<p>  :global FuncStrToTele<br \/>  [$FuncStrToTele \u00ab\u041f\u0440\u0438\u0432\u0435\u0442, user !\u00bb]<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0435\u0433\u043e \u0431\u043e\u0442\u0430 \u0432 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c, \u0443\u0437\u043d\u0430\u0442\u044c \u0435\u0433\u043e API BOTToken \u0438 ID \u0447\u0430\u0442\u0430. \u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043f\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u0431\u043e\u0442\u043e\u0432 \u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044e \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u0432 \u043d\u0435\u043e\u0434\u043d\u043e\u043a\u0440\u0430\u0442\u043d\u043e \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0438\u0441\u044c. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0441\u0441\u044b\u043b\u043a\u0430\u043c:<\/p>\n<p>  <a href=\"https:\/\/bearscience.ru\/2019\/06\/mikrotik-telegram-message\/\" rel=\"nofollow\">bearscience.ru\/2019\/06\/mikrotik-telegram-message<\/a><br \/>  <a href=\"https:\/\/disnetern.ru\/message-to-telegram-from-mikrotik-or-linux\/\" rel=\"nofollow\">disnetern.ru\/message-to-telegram-from-mikrotik-or-linux<\/a><\/p>\n<p>  <b>\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430\u0448\u0435 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432 \u0447\u0430\u0442 \u0431\u043e\u0442\u0430:<\/b><\/p>\n<p>  :local botID \u00abbotXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXX\u00bb;<br \/>  :local myChatID \u00abYYYYYY\u00bb;<br \/>  :global FuncStrToTele;<br \/>  :local string [$FuncStrToTele \u00ab\u041f\u0440\u0438\u0432\u0435\u0442 \u043e\u0442 Sertik! \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044f-\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0435\u0440 Russian alfabit \u0434\u043b\u044f Telegramm\u00bb]<br \/>  :tool fetch url=(\u00ab<a href=\"https:\/\/api.telegram.org\/\" rel=\"nofollow\">api.telegram.org<\/a>$botID\/sendmes\u2026 xt=$string\u00bb) keep-result=no<\/p>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0439\u0442\u0435, \u0443 \u043c\u0435\u043d\u044f \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0431\u0435\u0437 \u0432\u0441\u044f\u043a\u043e\u0433\u043e \u0442\u0440\u0443\u0434\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0432 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435! \u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442\u0441\u044f.<br \/>  \u0412\u0435\u0440\u043e\u044f\u0442\u043d\u043e \u0446\u0435\u043b\u0435\u0441\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 \u043a\u043e\u0434\u0430 \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0430 \u0441\u0442\u0440\u043e\u043a\u0438, \u044d\u0442\u043e \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c.<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/518534\/\"> https:\/\/habr.com\/ru\/post\/518534\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/518534\/\">\u041c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c \u043a\u0440\u0430\u0439\u043d\u0435 \u0443\u0434\u043e\u0431\u0435\u043d \u0434\u043b\u044f \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u0440\u0430\u0431\u043e\u0442\u0435 IT-\u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f, \u0447\u0435\u043c \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0421\u0438\u0441\u0410\u0434\u043c\u0438\u043d\u044b. \u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435 WhatsApp \u0438 Viber \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 API \u043d\u043e \u0432 \u043d\u0438\u0445 \u043d\u0435\u0442 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0439 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0438\u0445 \u0431\u043e\u0442\u043e\u0432. <\/p>\n<p>  \u0420\u043e\u0443\u0442\u0435\u0440\u041e\u0421 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u041c\u0438\u043a\u0440\u043e\u0442\u0438\u043a \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0448\u0442\u0430\u0442\u043d\u044b\u043c\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u0432 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u043c. \u0420\u0443\u0441\u0441\u043a\u0438\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u044b \u0432 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u0445, \u0435\u0441\u043b\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u0432 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0435 UTF-8. \u041d\u0443 \u0447\u0442\u043e \u0436\u0435 \u043a\u043e\u0434\u044b \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b, \u043f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u043d\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0449\u0438\u043a?<br \/>  \u0414\u043b\u044f \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447\u0438 \u044f \u043d\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430\u043c\u0438 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f, \u0430 \u0441\u043e\u0437\u0434\u0430\u043b \u043a\u043b\u044e\u0447\u0435\u0432\u043e\u0439 \u043c\u0430\u0441\u0441\u0438\u0432, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0432 \u0432\u0438\u0434\u0435 \u043a\u043b\u044e\u0447\u0435\u0439 \u0441\u0430\u043c\u0438 \u0440\u0443\u0441\u0441\u043a\u0438\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u043e\u0439 \u0438 \u043f\u0440\u043e\u043f\u0438\u0441\u043d\u043e\u0439 \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0430\u0445, \u0430 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0438\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u0445 \u2014 \u043a\u043e\u0434\u044b \u044d\u0442\u0438\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 UTF-8.<\/p>\n<p>  <b>\u0412\u043e\u0442 \u044d\u0442\u043e\u0442 \u043c\u0430\u0441\u0441\u0438\u0432 \u0434\u0430\u043d\u043d\u044b\u0445, \u043c\u043e\u0436\u0435\u0442 \u0438 \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u0437\u0430\u0434\u0430\u0447 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f:<\/b>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-309734","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/309734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=309734"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/309734\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=309734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=309734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=309734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}