diff --git a/Tagger/.settings/org.eclipse.core.resources.prefs b/Tagger/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..b3eb296 --- /dev/null +++ b/Tagger/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding//src/PixivManager.java=UTF-8 diff --git a/Tagger/Tagger.jar b/Tagger/Tagger.jar index 8bfc0a1..6e53d58 100644 Binary files a/Tagger/Tagger.jar and b/Tagger/Tagger.jar differ diff --git a/Tagger/src/PixivManager.java b/Tagger/src/PixivManager.java index a77de54..4bf009d 100644 --- a/Tagger/src/PixivManager.java +++ b/Tagger/src/PixivManager.java @@ -88,7 +88,7 @@ public class PixivManager { ENTag = translationObj.getString("en"); } } else - if (tag.has("tag") && /*romaji.length()==0 &&*/ !tag.getString("tag").matches(".*\\p{InHiragana}.*")) { + if (tag.has("tag") && /*romaji.length()==0 &&*/ !tag.getString("tag").matches(".*[ぁ-んァ-ン一-龯]")) { hasEnglishTag=true; ENTag = tag.getString("tag"); }