amake / flutter_charset_detector

Flutter plugin that detects the charset (encoding) of text bytes
https://pub.dev/packages/flutter_charset_detector
19 stars 11 forks source link

Linux, Windows support #3

Open GnRSlash opened 3 years ago

GnRSlash commented 3 years ago

Hi!

Do you have plans to write this plugin for flutter web and desktop (windows) ? Looking at your job, it seems to be very powerful against other ones at the internet. I need to open file that is encoded with Shift-JIS, and I didnt find any plugin that works for desktop. For now, Ill write my code using C#.NET but it will very exciting to have it in Flutter!

Anyways... congratulations for your work! It appears to be very nice!

amake commented 3 years ago

I am interested in expanding support for other platforms, but I can't make any promises about the timeline.

I see that there are two C# ports of uchardet:

There is also a JavaScript detector that doesn't seem to derive from uchardet but nonetheless seems largely equivalent:

The remaining platform would be macOS, which could be covered by the same library as iOS.

So all of it looks doable, but again it's a matter of finding the time.

Of course PRs are welcome!

CodesbyRobot commented 1 year ago

+1

dab246 commented 9 months ago

I am interested in expanding support for other platforms, but I can't make any promises about the timeline.

I see that there are two C# ports of uchardet:

There is also a JavaScript detector that doesn't seem to derive from uchardet but nonetheless seems largely equivalent:

The remaining platform would be macOS, which could be covered by the same library as iOS.

So all of it looks doable, but again it's a matter of finding the time.

Of course PRs are welcome!

I have implement it on the web platform. Please review for me!

And96 commented 9 months ago

any news?

amake commented 9 months ago

Web support has landed in v2.1.0. Thanks very much to @dab246!

amake commented 9 months ago

macOS support has landed in v3.0.0.