Jump to content

Recommended Posts

Hi there, 

 

I'm having a issue with a library that enables spell checking functionality in PHP when the text contains non-ASCII characters. 

 

I have posted the request for help in Stack Overflow but I got no answers there: http://stackoverflow.com/questions/22878677/spell-checking-utf-8-text-with-hunspellchecker-class

 

If anyone can help, I guess the best is to post answers there, so as not to duplicate efforts. 

 

Cheers, Manuel

Thank you, jazzman1. I'll explore your suggestions. 

 

I thought it would be better to post a link to the original question in another forum than copying/pasting the whole question here. Perhaps I should have posted the full question here and add a link to this forum in Stack Overflow, given that I didn't get any answers there. I don't know, but at least both questions should be linked, I think.

 

Cheers, Manuel

Hi again,

 

I had a look at the mb functions (which I had already done), but as I don't really know what the problem is, I don't know which function could help. 

 

I think the problem is that the double-byte characters in the strings are handled as word boundaries when the string is written to a resource (not a file) by fwrite. That's all I could find out. Perhaps there's a way to fwrite multibyte text? 

 

Any further hints? 
 

Thanks a lot.

 

Cheers, Manuel

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.