Changeset 1bdd90d85a28ff8d5cbdae25a2df9c2e558024dc

Show
Ignore:
Timestamp:
10/27/09 20:51:52 (4 weeks ago)
Author:
Nelson Elhage <nelhage@mit.edu>
git-author:
Nelson Elhage <nelhage@mit.edu> / 2009-10-07T23:03:16Z-0400
Parents:
42128274b397d991c888d09e465e8b74470d0968
Children:
da0bfb7e0400c87413670a4a305849165e63181a
git-committer:
Nelson Elhage <nelhage@mit.edu> / 2009-10-27T20:51:52Z-0400
Message:
Zephyr: Store Zephyr fields as utf-8.

For backwards compatibility, store the 'fields' array on Zephyr
message objects as utf-8.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • message.c

    r4212827 r1bdd90d  
    745745  j=owl_zephyr_get_num_fields(n); 
    746746  for (i=0; i<j; i++) { 
    747     ptr=owl_zephyr_get_field(n, i+1); 
    748     av_push(av_zfields, newSVpvn(ptr, strlen(ptr))); 
     747    ptr=owl_zephyr_get_field_as_utf8(n, i+1); 
     748    av_push(av_zfields, owl_new_sv(ptr)); 
    749749    owl_free(ptr); 
    750750  }