Flutterby™! : Testing UTF8

Next unread comment / Catchup all unread comments User Account Info | Logout | XML/Pilot/etc versions | Long version (with comments) | Weblog archives | Site Map | | Browse Topics

Testing UTF8

2013-10-26 01:55:20.80379+02 by Dan Lyke 18 comments

Ignore me, testing UTF-8: ╭∩╮(-_-)╭∩╮

And more testing:

ლ(╹◡╹ლ), ¯\_(ツ)_/¯, ಠ_ಠ,

(╯°□°)╯︵ ┻━┻)

comments in ascending chronological order (reverse):

#Comment Re: made: 2013-10-26 01:55:41.94825+02 by: Dan Lyke

Why does this work in the main section and not in comments?

╭∩╮(-_-)╭∩╮

#Comment Re: made: 2013-10-26 02:08:28.54846+02 by: Dan Lyke

╭∩╮(-_-)╭∩╮

#Comment Re: made: 2013-10-26 02:31:43.762969+02 by: meuon [edit history]

Original: *#9581;∩*#9582;(-_-)*#9581;*#8745;*#9582;

In comments: *#226;*#149;*#173;*#226;*#136;*#169;*#226;*#149;*#174;(-_-)*#226;*#149;*#173;*#226;*#136;*#169;*#226;*#149;*#174;

with * replacing &

Comments post is encoding something differently. UTF8 Gods are laughing. But's not obvious.

#Comment Re: made: 2013-10-27 06:04:24.672553+01 by: spc476

╭∩╮(-_-)╭∩╮

#Comment Re: made: 2013-10-27 06:07:40.069447+01 by: spc476

Hmm ... my guess is that the form action is assuming the input is in ISO-8859-1. What happens if you change the form action to

<form 
   style="margin-left: 0;" 
   action="/archives/viewentry.cgi?id=" 
   accept-charset="UTF-8"
   method="post"
>

#Comment Re: made: 2013-10-28 17:33:05.134832+01 by: meuon

┌∩┐(◣_◢)┌∩┐

#Comment Re: made: 2013-10-29 16:41:22.935674+01 by: Dan Lyke

Looks like it's inserting wrong: ╭∩╮(-_-)╭∩╮

#Comment Re: made: 2013-10-29 16:48:24.803995+01 by: Dan Lyke

Status: 500 Content-type: text/html

Software error:

Use of wide characters in FCGI::Stream::PRINT is deprecated and will stop working in a future version of FCGI at /home/danlyke/websites/flutterby.com/lib/Flutterby/Output/HTMLProcessed.pm line 64.

For help, please send mail to the webmaster (danlyke@flutterby.com), giving this error message and the time and date of the error.