Suggestion: Implementing smart quotes as a display-only feature without altering underlying data

Random thought: A while back I opened a ticket describing how smart quotes interfere with search. In light of this, would it make sense to implement smart quotes as a display-only feature in the showCGGlyphs callback of NSLayoutManager instead of altering the underlying data the way it’s done now? That way, sqlite always stores the regular apostrophe character ' rather than , and search would be unaffacted by this feature.