flutter_charset_detector icon indicating copy to clipboard operation
flutter_charset_detector copied to clipboard

Linux, Windows support

Open GnRSlash opened this issue 4 years ago • 6 comments
trafficstars

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!

GnRSlash avatar Jul 29 '21 15:07 GnRSlash

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:

  • https://www.nuget.org/packages/NChardet/ (apparently more popular)
  • https://www.nuget.org/packages/NUniversalCharDet/

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

  • https://www.npmjs.com/package/jschardet

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!

amake avatar Jul 29 '21 23:07 amake

+1

CodesbyRobot avatar Nov 14 '23 14:11 CodesbyRobot

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:

  • https://www.nuget.org/packages/NChardet/ (apparently more popular)
  • https://www.nuget.org/packages/NUniversalCharDet/

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

  • https://www.npmjs.com/package/jschardet

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!

dab246 avatar Feb 26 '24 05:02 dab246

any news?

And96 avatar Mar 01 '24 20:03 And96

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

amake avatar Mar 04 '24 05:03 amake

macOS support has landed in v3.0.0.

amake avatar Mar 04 '24 23:03 amake