medabdellahi / google-caldav-issues

Automatically exported from code.google.com/p/google-caldav-issues
0 stars 0 forks source link

Non-ASCII data are not properly returned on GET #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. PUT
https://www.google.com/calendar/dav/filip.navara@gmail.com/events/111.ics
BEGIN:VCALENDAR
PRODID:-//eM Client/1.1.2958.0
VERSION:2.0
BEGIN:VEVENT
DTSTART:20080805T101500
DTEND:20080805T133000
CREATED:20080805T165306
SUMMARY:New event žeříš
DESCRIPTION:
UID:111
LOCATION:
END:VEVENT
END:VCALENDAR
2. GET
https://www.google.com/calendar/dav/filip.navara@gmail.com/events/111.ics

What is the expected output? What do you see instead?

Expected output:
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
X-WR-CALNAME:Filip Navara
X-WR-TIMEZONE:Europe/Prague
BEGIN:VTIMEZONE
TZID:Europe/Prague
X-LIC-LOCATION:Europe/Prague
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=Europe/Prague:20080805T101500
DTEND;TZID=Europe/Prague:20080805T133000
DTSTAMP:20080805T161847Z
UID:111
CLASS:PRIVATE
CREATED:20080805T161847Z
DESCRIPTION:
LAST-MODIFIED:20080805T161847Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:New event žeříš
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:This is an event reminder
TRIGGER:-P0DT0H10M0S
END:VALARM
END:VEVENT
END:VCALENDAR

Actual output:
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
X-WR-CALNAME:Filip Navara
X-WR-TIMEZONE:Europe/Prague
BEGIN:VTIMEZONE
TZID:Europe/Prague
X-LIC-LOCATION:Europe/Prague
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=Europe/Prague:20080805T101500
DTEND;TZID=Europe/Prague:20080805T133000
DTSTAMP:20080805T161847Z
UID:111
CLASS:PRIVATE
CREATED:20080805T161847Z
DESCRIPTION:
LAST-MODIFIED:20080805T161847Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:New event ?e?�?
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:This is an event reminder
TRIGGER:-P0DT0H10M0S
END:VALARM
END:VEVENT
END:VCALENDAR

Original issue reported on code.google.com by filip.na...@gmail.com on 5 Aug 2008 at 4:30

GoogleCodeExporter commented 9 years ago
The non-ASCII characters are properly displayed in the web interface, so I 
believe
they are also stored correctly on the server.

Original comment by filip.na...@gmail.com on 5 Aug 2008 at 4:31

GoogleCodeExporter commented 9 years ago
Problem fixed; I will update the thread once the patch is made productive.

Original comment by di...@google.com on 6 Aug 2008 at 2:47

GoogleCodeExporter commented 9 years ago
The fix is productive now.

Original comment by di...@google.com on 2 Oct 2008 at 11:29