[OPEN-ILS-DEV] Enabling UTF8 data in SIP2 (patch and RFC)
Mike Rylander
mrylander at gmail.com
Mon Jan 4 21:18:56 EST 2010
On Mon, Jan 4, 2010 at 8:34 PM, Dan Scott <dan at coffeecode.net> wrote:
[snip]
> So -- if I uncomment those two lines in OpenILS::SIP::clean_text() so
> that the combining characters are stripped by default, would you find
> this patch acceptable?
>
>
Making the encoding a config file option (SIPServer.pm config, that
is) and checking that inside O::S::clean_text(), defaulting to
encode('ascii',$text) or the NFD()+s/\pM+//go, seems like it would be
the most complete thing to do. Is that reasonably doable?
--
Mike Rylander
| VP, Research and Design
| Equinox Software, Inc. / The Evergreen Experts
| phone: 1-877-OPEN-ILS (673-6457)
| email: miker at esilibrary.com
| web: http://www.esilibrary.com
More information about the Open-ils-dev
mailing list