-
Notifications
You must be signed in to change notification settings - Fork 11
Issues with optional dependencies on Windows #53
Comments
I'm not super interested in trying to merge another fork's changes into mine, especially since we've both made substantial changes to the code solely through linting and pulling out various functions. If someone else put in the effort and I could verify somehow that they had implemented the changes successfully, I think I'd be happy with that. (I've already put in a lot of effort into this project :( and it seems like 90% of it was fixing messes in the upstream.) Making this work better on Windows seems like a good priority; I've had trouble doing that myself, as in #52. Moving to Thanks for bringing this to my attention. |
@BMitrovic17 on a side note, I took a look at jschardet and decided to use it instead of charset-detect |
@Throne3d iconv-lite is almost now recommended over iconv, not to mention significantly faster. and jschardet gets 1000 downloads a day, so I mean, we should be able to trust it. All in all the switch to these is fairly painless. |
@davericher That's great. @Throne3d Hopefully it'll take you far less than two months :) |
Alright! This should now be fixed, with 1582fb8. If you wouldn't mind testing it, that'd be great. :P (I have some tests in the code, as you can see changed in that commit, but I'm not super confident in them.) |
Took some time to do proper testing being that I didn't have access to my box due to only having mobile internet. Anyway, it's working ok. So Thanks for implementing it. |
No problem! I've just released a new version, v0.9.0, which contains this change. |
While both of those dependencies are optional they are very valuable for day to day usage imho.
Being that there are issues with installing
node-icu-charset-detector
andiconv
on Windows I'd suggest/request that you switch to combo oficonv-lite
andjschardet
.You can see about that switch on mooz/node-icu-charset-detector#32 (comment), @vBm mentioned it on official
node-irc
here -> martynsmith#490 (comment)Another solution is to switch to
iconv-lite
andcharset-detector
as @davericher did on his fork ofnode-irc
here -> funsocietyirc/node-irc@e44e0fb...masterIn reality it would be the best if you two would make an unified fork being that both of you have patches that are quite nice.
Thanks :)
The text was updated successfully, but these errors were encountered: