While the filter example currently DOES work as is post-SA-2008-06, it only works because of a bug (\xFF and \xFE are used in a literal manner by php if inside single quotes)
Here is a proper fix that uses unicode private use characters.
Thoughts on this or promoting this fix as the "official" fix for the issue in general?
| Comment | File | Size | Author |
|---|---|---|---|
| filter_utf8_fix.patch | 1.66 KB | bdragon |
Comments
Comment #1
betz commentedChanged the component to reflect the new component categorization. See http://drupal.org/node/301443
Comment #3
dries commentedComment #4
dave reidMoving to the new example modules project.
Comment #5
jhodgdonThe patch failed to apply for me, but with minimal/context changes, I tried it out. ... It looks good, I agree with the reasoning, and the filter works fine in Drupal 6... So I went ahead and committed it to Drupal 6, as well as Drupal 7 (the Drupal 7 code is identical).
http://drupal.org/cvs?commit=275004
http://drupal.org/cvs?commit=275002
Thanks bdragon!
Comment #6
jhodgdon