Ticket #2417: incorrect charset conversion in editor search engine.