#114 unicode is not supported

open
Greg Valure
None
5
2012-09-14
2010-08-16
Z P
No

My source files are in unicode text files, and Natural Docs cannot "understand" them.

Discussion

  • Greg Valure
    Greg Valure
    2010-08-16

    If they are in UTF-16, this is a known issue with Perl. If they are in UTF-8 they should work, so put an example file into a zip file (so nothing gets changed by SourceForge) and post it here.

     
  • Z P
    Z P
    2010-08-17

    Yes, they are UTF-16 (1char = 2 bytes)
    This is the default (and non-changeable) format of QTP for source files (vbs)
    So a workaround is to convert UTF-16 -> UTF-8, then run NaturalDocs on the temp files.
    Any better suggestion you have maybe?

     
  • Greg Valure
    Greg Valure
    2010-08-18

    New version of LineReader.pm

     
    Attachments
  • Greg Valure
    Greg Valure
    2010-08-18

    Use the attached file to replace LineReader.pm in 1.5 ([ND Dir]\Modules\NaturalDocs\LineReader.pm) and see if it works. You'll have to run Natural Docs with -r once to apply the changes everywhere. Unless there's issues, this will appear in 1.51.

     
  • Z P
    Z P
    2010-08-24

    I overwrote the prev LineReader.pm with your new one, re-generated the doc, and it works without any problem ! Thank you! Now I dont need to use the unicode->ascii converter anymore! Thanks again.