Menu

#19 cant handle special characters in firefox's UTF8 bookmarks

bad_behavior
open
input (5)
5
2005-02-28
2005-02-04
Anonymous
No

I use hungarian "ιαőűσ" etc characters in my bookmark
and bk2site cant handle those bookmark entities which
has special characters in its name. It cant create
directories with theese names, and also cant create files
in this dirs.

Discussion

  • Jose M. Vidal

    Jose M. Vidal - 2005-02-28
    • assigned_to: nobody --> jmvidal
     
  • Michael Jaeger

    Michael Jaeger - 2005-06-21

    Logged In: YES
    user_id=723746

    Hi!

    I got the same problem. Actually, version 1.1.8 worked
    correctly regarding this issue. Thus, I patched version
    1.1.9 doing the following:

    $ diff /tmp/bk2site-1.1.9/reference.H reference.H
    24c24
    < //#include <strstream>
    ---
    > #include <strstream>

    and

    $ diff /tmp/bk2site-1.1.9/reference.C reference.C
    223c223
    < string hexbuf;
    ---
    > char hexbuf[4];
    226c226
    < ostringstream hexstr(hexbuf);
    ---
    > ostrstream hexstr(hexbuf, 4);

    This way, you gonna get a lot of warnings, but the result is
    better ;-).

    Bye,
    Michael.

     
  • Michael Jaeger

    Michael Jaeger - 2005-06-21

    Logged In: YES
    user_id=723746

    I submitted a patch solving this problem.

     

Log in to post a comment.

MongoDB Logo MongoDB