Roxen.git / server / languages / japanese.pike

version» Context lines:

Roxen.git/server/languages/japanese.pike:1:   #charset iso-2022      // Japanese (Was Kanji) language plugin   //   // Adds support for japanese   // Bugs by Marcus Comstedt <marcus@roxen.com>   // Some more bugs by Henrik Grubbstr,Av(Bm <grubba@roxen.com>      inherit "abstract.pike";    - constant cvs_version = "$Id: japanese.pike,v 1.22 2008/08/15 12:33:54 mast Exp $"; + constant cvs_version = "$Id$";   constant _id = ({ "ja", "japanese", "$BF|K\8l(B" });   constant _aliases = ({ "jp", "japanese", "nihongo" /* To keep Peter Evans happy */,    "$BF|K\8l(B",    "kj", "kanji", /* For backward compatibility */   });    -  + constant implode_conjunction = "$A$H(B"; +    constant required_charset = "iso-2022";   /* The following function is correct for -10**12 < n < 10**12 (I think...) */      string mknumber(int n)   {    array(string) digit;    string r;    digit = ({ "", "$B0l(B", "$BFs(B", "$B;0(B", "$B;M(B", "$B8^(B", "$BO;(B", "$B<7(B", "$BH,(B", "$B6e(B" });       if(!n) return "$B%<%m(B";