![](//d33sqmjvzgs8hq.cloudfront.net/wp- content/themes/oneqt/assets/images/cookie_small.png) We bake cookies in your browser for a better experience. Using this site means that you consent. [Read More](//qt.io/terms-conditions/) Menu * [ Partners ](//qt.io/partners/) * [ Blog ](https://blog.qt.io/) [ ](https://qt.io/) * [Download](https://qt.io/download/) * [Device Creation](https://www.qt.io/qt-for-device-creation/) * [Application Development](https://www.qt.io/application-development/) * [Services](https://www.qt.io/services/) * [Developers](https://www.qt.io/developers/) * [EN](https://qt.io/support/) * [RU](https://qt.io/ru/) * [ZH](https://qt.io/zh-hans/) # * [Wiki](https://wiki.qt.io/) * [Documentation](https://doc.qt.io/) * [Forum](https://forum.qt.io/) * [Bug Reports](https://bugreports.qt.io/) * [Code Review](https://codereview.qt-project.org/) * [Resource Center](https://resources.qt.io/) * [Qt Extensions](https://marketplace.qt.io/) [ # Qt Documentation Snapshots ](http://doc-snapshots.qt.io/) * [Qt 5.12](index.html) * [Qt WebEngine](qtwebengine-index.html) * [Qt WebEngine Licensing](qtwebengine-licensing.html) * Compact Encoding Detection * [Qt 5.12.9 ('5.12' branch)](qtwebengine-index.html) # Compact Encoding Detection [Project Homepage](https://github.com/google/compact_enc_det) // Copyright (c) 2010 The Chromium Authors. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above // copyright notice, this list of conditions and the following disclaimer // in the documentation and/or other materials provided with the // distribution. // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. © 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the [GNU Free Documentation License version 1.3](http://www.gnu.org/licenses/fdl.html) as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. * [About us](https://qt.io/about-us/) * [Training & Events](https://qt.io/events/) * [News](https://qt.io/news/) * [Resource Center](https://qt.io/resource-center/) * [Partners](https://qt.io/partners/) * [Careers](https://qt.io/careers/) * [Locations](https://qt.io/locations/) * [Product](https://qt.io/product/) * [Qt Framework](https://qt.io/qt-framework/) * [Qt Features](https://qt.io/qt-features/) * [Qt Quick](https://qt.io/qt-quick/) * [Qt for Device Creation](https://qt.io/qt-for-device-creation/) * [Qt for Mobile Apps](https://qt.io/mobile-app-development/) * [Qt in Use](https://qt.io/qt-in-use/) * [Developers](https://qt.io/developers/) * [Qt Extensions](https://marketplace.qt.io/) * [Examples & Tutorials](https://doc.qt.io/qt-5/qtexamplesandtutorials.html) * [Tools](https://doc.qt.io/qt-5/topics-app-development.html) * [Wiki](https://wiki.qt.io/) * [Forums](https://forum.qt.io/) * [Contribute to Qt](https://wiki.qt.io/Qt_Contribution_Guidelines) * [Services](https://qt.io/services/) * [Support](https://qt.io/support/) * [Technology Evaluation](https://qt.io/services-technology-evaluation/) * [Proof of Concept](https://qt.io/services-proof-of-concept/) * [Design & Implementation](https://qt.io/services-design-implementation/) * [Productization](https://qt.io/services-productization/) * [Qt Cloud Services](https://qtcloudservices.com/) * [Download](https://qt.io/download/) * [Free 30-Day Trial](https://qt.io/download/) * [Enterprise](https://qt.io/buy-enterprise-step-2/) * [Professional](https://qt.io/buy-professional-step-2/) * [Indie Mobile](https://qt.io/buy-indiemobile-step-2/) * [Community](https://qt.io/download-open-source/) * [Legal | Terms & Conditions](https://qt.io/terms-conditions/) [](https://qt.io/about-us/) * [Sign In](https://account.qt.io/login "Sign into your account.") * [Feedback](mailto:feedback@theqtcompany.com?Subject=Feedback%20about%20doc.qt.io%20site) * [Contact us](https://qt.io/contact-us/) * [© 2020 The Qt Company](https://qt.io/about-us/)