Skip to content

Files

Latest commit

 

History

History

flutter_charset_detector_web

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

flutter_charset_detector_web

The Web implementation of flutter_charset_detector.

Usage

To make it work properly on the Web platform, you need to add the jschardet.min.js file inside the of your web/index.html file:

<head>
    <!-- ... -->
    <script type="application/javascript" src="/assets/packages/flutter_charset_detector_web/assets/web/jschardet.min.js" defer></script>
    <!-- ... -->
</head>

This package is endorsed, which means you can simply use flutter_charset_detector normally. This package will be automatically included in your app when you do.