NKF Platform Dependencies & Mono

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.

Cheers,

Andrew.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs