On 9 February 2012 00:02, Wil Hadden <[email protected]> wrote:
> Hi,
>
> I thought I should let you know of an issue I may have uncovered.
>
> In paragraphs.cpp in InitializeRowInfo there is a call to GetUTF8Text
> followed by a while loop that uses isspace.
>
> The problem is that isspace expects a char, not utf8 and it can throw
> an assert. Changing the isspace to iswspace fixes the issue on Windows
> builds, you may need another solution for other platforms.

No, you're imagining there's a problem where none exists, and your
change might introduce a problem where none had existed because
GetUTF8Text returns char*, not wchar_t* (UTF-8 is backwards compatible
with ASCII, there's no problem with isspace).

-- 
<Sefam> Are any of the mentors around?
<jimregan> yes, they're the ones trolling you

-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

Reply via email to