Hi,

Kakasi extension is available in PECL.

http://cvs.php.net/pecl

If you are using one of *nix-like OS's (Linux, FreeBSD, and whatsoever),

You can fetch it with the following command:

(In contrast to the standard modules like APC, this module cannot be
installed via "pear" command.)

$ cvs -d:pserver:[EMAIL PROTECTED]:/repository co pecl/kakasi
$ cd pecl/kakashi
$ phpize
$ ./configure
$ make
$ make install

- SYNOPSIS -
<?php
  // string kakasi(string input, array options)
  // This function may accept the same options as the command line.

  $result = kakasi("some japanese text in EUC-JP", array("-JH", "-KH"));
?>

BTW I'm not the author of this extension, so I don't seem to be the right 
person to ask further questions :)

Anyway, hope this helps.

Moriyoshi

"Simon Dedeyne" <[EMAIL PROTECTED]> wrote:

> I would like to use kakasi functionality with PHP, but right now the
> only way to do this would be running the kakasi program in shell or
> using PERL text:kakasi. 
> Are there any alternatives, or people who have experience how to get php
> & kakasi up and working smooth?
>  
> thanks,
> Simon


-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to