Use charlock_holmes instead of nkf at FetchLinkCardService (#4080)

* Specs for language detection

* Use CharlockHolmes instead of NKF

* Correct mistakes

* Correct style

* Set hint_enc instead of falling back and strip_tags

* Improve specs

* Add dependencies
This commit is contained in:
nullkal authored and Eugen Rochko committed 2017-07-08 22:44:31 +02:00
1 parent 794781d121
commit 007ab330e6
11 files changed
+78 -4

No files matched your search

Vendored
+1
View File
@@ -37,6 +37,7 @@ sudo apt-get install \
yarn \
libprotobuf-dev \
libreadline-dev \
libicu-dev \
-y
# Install rvm