buggnokii - Bugs: bug #20120, Nokia 6021 : off-by-one char...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #20120: Nokia 6021 : off-by-one char conversion corrupts accented calendar entries

Submitted by:  None
Submitted on:  Thu 07 Jun 2007 08:45:38 PM UTC  
 
Category: libgnokiiSeverity: 3 - Normal
Item Group: minor malfunctionStatus: Wont Fix
Privacy: PublicAssigned to: Pawel Kot <pkot>
Open/Closed: Closed

Sun 05 Aug 2007 06:56:30 PM UTC, comment #1:

Please use libical. That way you will avoid problem.

Pawel Kot <pkot>
Project AdministratorIn charge of this item.
Thu 07 Jun 2007 08:45:38 PM UTC, original submission:

On my Nokia 6021, when syncing the calendar to an empty phone using opensync 0.22 (I did not try the notes or the phone numbers yet), about half of the entries that contain accented characters have their last letter garbled. The garbling only gets worse when attempting to edit the entry in the phone, or syncing back in the other direction.

The attached crude, one-line patch (which I DO NOT recommend applying!) fixes what appears to be an off-by-one error in converting the strings into the bizarre brand of UTF-16 that Nokia wants. It simply causes char_unicode_encode() to return its usual value plus one. This works for me FWIW.

Anonymous

 

Attached Files
file #12984:  gnokii-crude-offbyone.patch added by None (345B - text/x-patch - Crude one-liner (please use as a band-aid only, DON'T APPLY to the CVS codebase))

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pkot (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 08 Apr 2010 09:00:12 PM UTCpkotOpen/ClosedOpen=>Closed
    Thu 08 Apr 2010 09:00:11 PM UTCpkotItem GroupNone=>minor malfunction
    Sun 05 Aug 2007 06:56:30 PM UTCpkotStatusNone=>Wont Fix
      Assigned toNone=>pkot
    Thu 07 Jun 2007 08:45:38 PM UTCNoneAttached File-=>Added gnokii-crude-offbyone.patch, #12984

    Back to the top


    Powered by Savane 3.1-cleanup1