[Ironruby-core] NKF Platform Dependencies & Mono

Andrew Peters andrew at mindscape.co.nz
Fri May 16 23:45:25 EDT 2008

Hi All,

I've got NKF up and running and passing the (very few) standard unit tests
that come with it.

I've got a problem however.

My implementation currently relies on the Win32 platform API
DetectInputCodepage to perform character encoding detection (there seems to
be no managed equivalent) which is likely a problem for Mono. The options
seem to be:

- Conditionally compile in an alternative API under Mono.
- Implement the DetectInputCodepage functionality natively.

Advice appreciated.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080517/e32467ba/attachment.html>

More information about the Ironruby-core mailing list