Re: [savannah-help-public] [sr #109423] Non-BMP characters truncate comments

2017-12-12 Thread Bob Proulx
Ineiev wrote: > Bob Proulx wrote: > > Can we scan the data before storing it > > and detect when we will have the problem and then encode it then? > > Probably we could. I think some UTF-8 parsing would be needed, it's > somewhat harder than to encode unconditionally. If we encode unconditionally

Re: [savannah-help-public] [sr #109423] Non-BMP characters truncate comments

2017-12-12 Thread Ineiev
On Tue, Dec 12, 2017 at 12:30:42AM -0700, Bob Proulx wrote: > Ineiev wrote: > > The question is what to do. we could wait for MySQL or store new messages > > in something like base64, with a magic prefix. > > Upgrading quickly is problematic. And trying to upgrade just the > database system and n