Menu

#201 Getting codepage causes whole sync process to fail

closed-out-of-date
5
2015-12-17
2010-06-26
Kirk Meyer
No

In libopensync-plugin-synce-rra in synce_plugin.c, the code page detection starting at line 140 can fail and then stops the whole sync. Some devices (such as mine) deny remote access to certain parts of the registry, including this area. Rather than failing with error, perhaps it could default to 1252, or have an option available to set the codepage if it cannot be determined (like for the timezone)? I temporarily fixed it by having it access instead HKLM\\Software\\Microsofa\\International\\ACM (Microsofa) and creating such a value on my device.

Discussion

  • David Eriksson

    David Eriksson - 2010-06-28

    Thanks for your bug report! Maybe you could make a proper patch for this? :-)

     
  • Kirk Meyer

    Kirk Meyer - 2010-06-29
     
  • Kirk Meyer

    Kirk Meyer - 2010-06-29

    Sure, I attached a simple modification to default to 1252 if opening the registry key fails. I'm not familiar enough with the project to do a more in-depth modification, like guessing the proper codepage based on the desktop system, or providing a command line option or config option for it.

     
  • David Eriksson

    David Eriksson - 2010-07-02
    • assigned_to: twogood --> mark_ellis
     
  • David Eriksson

    David Eriksson - 2010-07-02

    Mark, are you able to act on this?

    Thanks!
    David

     
  • David Eriksson

    David Eriksson - 2015-12-17
    • Status: open --> closed-out-of-date
     

Log in to post a comment.

MongoDB Logo MongoDB