Menu

#12 Problem with non-ASCII string literals

v1.1.1
closed
5
2012-09-15
2007-06-13
dbely
No

let foo = "\x7f" ( Outline view is OK )

let bar = "\x80" ( Yields "No outline available due to a -dparsetree ocamlc error" )

The code page is Windows-1251 if that matters.

Discussion

  • Emmanuel Dieul

    Emmanuel Dieul - 2007-06-16

    Logged In: YES
    user_id=1014034
    Originator: NO

    Thanks for the report... but this text works for me either on linux or windows (even with the cp1251). However, one correction has been made for "illegal character sequence in strings" warnings (e.g. with "\x8"): there was a bug so that the outline showed an outline exception item.

    Now, this fixed and will be available into the next release.

    Manu

     
  • dbely

    dbely - 2007-06-16

    Logged In: YES
    user_id=1503086
    Originator: YES

    Why "\x80" is illegal? It's just a "Cyrillic A" in CP1251. In fact I also had the same problem with any string containing chars with code >= 128 (that's why I mentioned non-ASCII in the summary). Hope your fix addresses this also.

     
  • Emmanuel Dieul

    Emmanuel Dieul - 2007-06-24

    Logged In: YES
    user_id=1014034
    Originator: NO

    OK. With your information I could reproduce your problem. Now the bug is fixed.

    Thanks for your help,

    Manu

     

Log in to post a comment.