Boost C++ Libraries: Ticket #12042: Missing cp852 encoding in Windows (wconv_codepage.ipp) https://svn.boost.org/trac10/ticket/12042 <p> Hello, I found missing enconding <code>cp852</code> in the file <code>locale\src\encoding\wconv_codepage.ipp</code>. I fix it by adding this encoding to the following table. Everything is working now. I use Czech Windows XP and MSVC Express 2010. Czech Windows use codepage 852 in text terminal <code>cmd</code> and codepage 1250 in other windows applications. Please, please repair. I think for the Czech console program is very important. Thank you Martin </p> <div class="wiki-code"><div class="code"><pre><span class="n">windows_encoding</span> <span class="n">all_windows_encodings</span><span class="p">[]</span> <span class="o">=</span> <span class="p">{</span> <span class="p">{</span> <span class="s">&quot;big5&quot;</span><span class="p">,</span> <span class="mi">950</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;cp1250&quot;</span><span class="p">,</span> <span class="mi">1250</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;cp1251&quot;</span><span class="p">,</span> <span class="mi">1251</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;cp1252&quot;</span><span class="p">,</span> <span class="mi">1252</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;cp1253&quot;</span><span class="p">,</span> <span class="mi">1253</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;cp1254&quot;</span><span class="p">,</span> <span class="mi">1254</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;cp1255&quot;</span><span class="p">,</span> <span class="mi">1255</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;cp1256&quot;</span><span class="p">,</span> <span class="mi">1256</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;cp1257&quot;</span><span class="p">,</span> <span class="mi">1257</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;cp852&quot;</span><span class="p">,</span> <span class="mi">852</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;cp874&quot;</span><span class="p">,</span> <span class="mi">874</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;cp932&quot;</span><span class="p">,</span> <span class="mi">932</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;cp936&quot;</span><span class="p">,</span> <span class="mi">936</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;eucjp&quot;</span><span class="p">,</span> <span class="mi">20932</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;euckr&quot;</span><span class="p">,</span> <span class="mi">51949</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;gb18030&quot;</span><span class="p">,</span> <span class="mi">54936</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;gb2312&quot;</span><span class="p">,</span> <span class="mi">20936</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;gbk&quot;</span><span class="p">,</span> <span class="mi">936</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;iso2022jp&quot;</span><span class="p">,</span> <span class="mi">50220</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;iso2022kr&quot;</span><span class="p">,</span> <span class="mi">50225</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;iso88591&quot;</span><span class="p">,</span> <span class="mi">28591</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;iso885913&quot;</span><span class="p">,</span> <span class="mi">28603</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;iso885915&quot;</span><span class="p">,</span> <span class="mi">28605</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;iso88592&quot;</span><span class="p">,</span> <span class="mi">28592</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;iso88593&quot;</span><span class="p">,</span> <span class="mi">28593</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;iso88594&quot;</span><span class="p">,</span> <span class="mi">28594</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;iso88595&quot;</span><span class="p">,</span> <span class="mi">28595</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;iso88596&quot;</span><span class="p">,</span> <span class="mi">28596</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;iso88597&quot;</span><span class="p">,</span> <span class="mi">28597</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;iso88598&quot;</span><span class="p">,</span> <span class="mi">28598</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;iso88599&quot;</span><span class="p">,</span> <span class="mi">28599</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;koi8r&quot;</span><span class="p">,</span> <span class="mi">20866</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;koi8u&quot;</span><span class="p">,</span> <span class="mi">21866</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;ms936&quot;</span><span class="p">,</span> <span class="mi">936</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;shiftjis&quot;</span><span class="p">,</span> <span class="mi">932</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;sjis&quot;</span><span class="p">,</span> <span class="mi">932</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;usascii&quot;</span><span class="p">,</span> <span class="mi">20127</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;utf8&quot;</span><span class="p">,</span> <span class="mi">65001</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;windows1250&quot;</span><span class="p">,</span> <span class="mi">1250</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;windows1251&quot;</span><span class="p">,</span> <span class="mi">1251</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;windows1252&quot;</span><span class="p">,</span> <span class="mi">1252</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;windows1253&quot;</span><span class="p">,</span> <span class="mi">1253</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;windows1254&quot;</span><span class="p">,</span> <span class="mi">1254</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;windows1255&quot;</span><span class="p">,</span> <span class="mi">1255</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;windows1256&quot;</span><span class="p">,</span> <span class="mi">1256</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;windows1257&quot;</span><span class="p">,</span> <span class="mi">1257</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;windows852&quot;</span><span class="p">,</span> <span class="mi">852</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;windows874&quot;</span><span class="p">,</span> <span class="mi">874</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;windows932&quot;</span><span class="p">,</span> <span class="mi">932</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">{</span> <span class="s">&quot;windows936&quot;</span><span class="p">,</span> <span class="mi">936</span><span class="p">,</span> <span class="mi">0</span> <span class="p">},</span> <span class="p">};</span> </pre></div></div> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12042 Trac 1.4.3 Artyom Beilis Thu, 13 Jul 2017 14:30:21 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12042#comment:1 https://svn.boost.org/trac10/ticket/12042#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> Boost Locale does not include DOS OEM codepages </p> Ticket