lovell / hepburn

Node.js module for converting Japanese Hiragana and Katakana script to, and from, Romaji using Hepburn romanisation
Apache License 2.0
130 stars 23 forks source link

Support extended katakana. #6

Closed modocache closed 6 years ago

modocache commented 10 years ago

The following test should pass, but it doesn't:

diff --git a/tests/all.js b/tests/all.js
index 4e9ac6c..673f6e8 100755
--- a/tests/all.js
+++ b/tests/all.js
@@ -4,7 +4,8 @@ var hepburn = require("../lib/hepburn");
 var katakanaTests = {
   "カタカナ": "KATAKANA",
   "チャーシュー": "CHASHU",
-  "マッモト": "MAMMOTO"
+  "マッモト": "MAMMOTO",
+  "フェイク": "FEIKU"
 };

 var toKatakanaTests = {

There's some information on extended katakana on Wikipedia.

lovell commented 6 years ago

This feature is available in v1.1.0, thanks for the PR @Bramas