<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mikhail Kyraha (Posts about sakha)</title><link>https://mikhail.kyraha.com/</link><description></description><atom:link href="https://mikhail.kyraha.com/categories/sakha.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Copyright © 2023 &lt;a href="https://mikhail.kyraha.com/"&gt;Mikhail Kyraha&lt;/a&gt; </copyright><lastBuildDate>Sun, 19 Nov 2023 04:54:27 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Guess text encoding with scalar product</title><link>https://mikhail.kyraha.com/posts/2012/guess-text-encoding-with-scalar-product.html</link><dc:creator>Mikhail Kyraha</dc:creator><description>&lt;div&gt;&lt;p&gt;Playing with an 8-bit to multibyte text converter recently I came across
with a rather interesting problem. The converter is intended to help
with converting legacy text data encoded with older monobyte character
encodings into UTF-8. Yes, the converting process itself is not a big
deal. In fact it's a very basic and straightforward program a student
would usually challenge him- or herself just after they accomplished the
"Hello World!" one. However, the interesting part here is the fact that
that "old encoding" can be one of a bunch of variants of slightly
different ad hoc character sets. And to make things worse, the user
doesn't usually know which code page exactly the original text was
encoded with. And as always the user is reluctant to make any effort to
find it out before using the tool. Where such ad hoc code pages came
from and why they been used at all is a whole different story but it's
not the point here. The point is how having only a piece of plain text
to determine which code page it is encoded with. So...&lt;/p&gt;
&lt;p&gt;&lt;a href="https://mikhail.kyraha.com/posts/2012/guess-text-encoding-with-scalar-product.html"&gt;Read more…&lt;/a&gt; (6 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>math</category><category>sakha</category><category>technology</category><guid>https://mikhail.kyraha.com/posts/2012/guess-text-encoding-with-scalar-product.html</guid><pubDate>Mon, 05 Mar 2012 23:00:00 GMT</pubDate></item></channel></rss>