[fpc-devel] fpdoc and unicode characters

Sergei Gorelkin sergei_gorelkin at mail.ru
Thu Aug 14 15:42:47 CEST 2008


Graeme Geldenhuys wrote:
> 
> No, but that was my first thought as well.  That is why I view the
> actual generated HTML file that fpdoc produced.  It has a literal ?
> character in the .html file.  I used Midnight Commander's editor and
> Gnomes gEdit to view the .html file.
> 
It looks like the problem is in htmwrite.pp unit. It is AnsiString-based 
and therefore all Unicode gets simply stripped away and replaced by '?'. 
Maybe adding cwstring to fpdoc uses clause can make things better for 
Linux with UTF-8 locale.

Sergei



More information about the fpc-devel mailing list