Hi Joachim,

The following article might be some help? (not that I completely understand what the problem is from your description)

http://www.codeproject.com/KB/string/StringConvertor.aspx

Hwyl,
Dewi


Ysgrifennodd Joachim Van den Bogaert:
Hi,

I am developing a C# .NET port for the hunspell library.  I used SWIG to 
generate wrappers for the unmanaged C++ code.

This all seemed to work. My unit tests for Dutch gave the expected results.

When I tried out Russian however, I found that my tests were breaking. First I 
thought that it had something to do with the KOI8-R encoding,

so I transcoded the .aff and .dic files to UTF-8 (I also changed the header in the .aff 
file). But still, the .NET version does not recognize the word  "язык".

I also made the C# library compatible with 64bit systems. I thought this could 
also be a cause for the code not to work properly,

but my tests behave exactly the same way on x86 and x64. So I still suspect 
that the files have something to do with it.

Does anyone have a clue what the problem could be?

Currently, these are my C# interfaces. Am I missing something?

        public NetHunSpell(string affixPath, string dictionaryPath)

        public bool Spell(string word)

        public string GetDictionaryEncoding()

Regards,

Joachim

____________________________________
YAMAGATA EUROPE

Maaltecenter Blok G, Derbystraat 365
9051 Gent (SDW) BELGIUM
T: 32.9.245.48.31 / Mobile: 32.476.65.65.97
E: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> W: www.yamagata-europe.com <http://www.yamagata-europe.com> W: www.qa-distiller.com <http://www.qa-distiller.com>
____________________________________

Disclaimer:
This e-mail is intended for the exclusive use by the person(s) mentioned as recipient(s). 
This e-mail and its attachments, if any, may contain confidential information and/or 
information protected by intellectual property rights. You may not, directly or 
indirectly, use, disclose, distribute, print or copy this e-mail (or any part of this 
email) unless with approval of Yamagata Europe. If you receive this message by mistake, 
please notify the sender with the "reply" option and delete immediately all 
copies from your system.



--
Dewi Bryn Jones

Uned Technolegau Iaith, / Language Technologies Unit,
Safle'r Normal,         / Normal Site,
Prifysgol Bangor,       / Bangor University,
Bangor, / Bangor, Gwynedd. LL57 2PX, UK / Gwynedd. LL57 2PX, UK

E-Bost / E-Mail : d.b.jones at bangor.ac.uk
Gwe (Cymraeg)   : http://www.bangor.ac.uk/ar/cb/technolegau_iaith.php.cy
Web (English)   : http://www.bangor.ac.uk/ar/cb/technolegau_iaith.php.en
Ffôn / Tel      : +44 (0) 1248 383245 , +44 (0) 2921 250354
Skype           : cb_dewi
Rhithfro / Blog : http://murmur.bangor.ac.uk


--
Mae'r e-bost yma'n amodol ar delerau ac amodau ymwadiad e-bost Prifysgol
Bangor. Gellir darllen testun llawn yr ymwadiad yma:
http://www.bangor.ac.uk/emaildisclaimer
This email is subject to the terms and conditions of the Bangor University
email disclaimer. The full text of the disclaimer can be read here:
http://www.bangor.ac.uk/emaildisclaimer


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to