unicode bug report

2 views
Skip to first unread message

James Carroll

unread,
Jun 8, 2009, 3:55:17 PM6/8/09
to smug...@googlegroups.com
if you create a blank page (or edit an existing page) and put the following as the content of the page:


you get an error. This is some unicode thing, and the same thing happens whenever you pug a unicode character in the edit box.

James
--
"And very early in the morning
the first day of the week,
they came unto the sepulchre
at the rising of the sun..." (Mark 16:2)

Web: http://james.jlcarroll.net

Andrew McNabb

unread,
Jun 9, 2009, 12:42:25 PM6/9/09
to smug...@googlegroups.com
On Mon, Jun 08, 2009 at 01:55:17PM -0600, James Carroll wrote:
> if you create a blank page (or edit an existing page) and put the following
> as the content of the page:
>
> “
>
> you get an error. This is some unicode thing, and the same thing happens
> whenever you pug a unicode character in the edit box.

I made a one-line change that should make it possible to commit unicode.
However, it's possible that it causes other problems, so I haven't
committed it to the master branch. Anyway, I have pushed this change as
the "unicode" branch. I'll try to put some more time into it later, but
feel free to try it out in the meantime.

--
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868

Jeff Anderson

unread,
Jun 13, 2009, 2:06:19 AM6/13/09
to smug...@googlegroups.com
On Tue, Jun 09, 2009 at 10:42:25AM -0600, Andrew McNabb wrote:
> On Mon, Jun 08, 2009 at 01:55:17PM -0600, James Carroll wrote:
> I made a one-line change that should make it possible to commit unicode.
> However, it's possible that it causes other problems, so I haven't
> committed it to the master branch. Anyway, I have pushed this change as
> the "unicode" branch. I'll try to put some more time into it later, but
> feel free to try it out in the meantime.

Hello,

I had mentioned to Andrew today that I had run into an issue where I was
having a unicode character display improperly. The rst source showed it
properly, but rendered through rst2html in smug, it didn't.

It turns out that the html template I have was explicitly specifying a
charset. I just switched it to utf8 and it works quite well.

This message is mostly for Andrew to let him know that I was just being
silly, and there is nothing wrong with presenting unicode text via smug.


Thanks!

Jeff Anderson

Andrew McNabb

unread,
Jun 13, 2009, 11:32:39 AM6/13/09
to smug...@googlegroups.com
On Sat, Jun 13, 2009 at 12:06:19AM -0600, Jeff Anderson wrote:
>
> This message is mostly for Andrew to let him know that I was just being
> silly, and there is nothing wrong with presenting unicode text via smug.

Great. Now it's one less thing to worry about. :)

By the way, I think we should start using the Issue Tracker on Google
Code for at least some stuff. We're about at the size where it's hard
to keep track of things purely by email.

James Carroll

unread,
Jun 24, 2009, 3:13:29 PM6/24/09
to smug...@googlegroups.com
I switched to your unicode branch, reloaded httpd, and committed a unicode containing page... and still get an error. I also think that it broke some other stuff, like my top banner wasn't loading for some reason... so no go... still needs work.

Reverted and all started working again.

James

Andrew McNabb

unread,
Jul 7, 2009, 5:04:23 PM7/7/09
to smug...@googlegroups.com
On Tue, Jun 09, 2009 at 10:42:25AM -0600, Andrew McNabb wrote:
>
> I made a one-line change that should make it possible to commit unicode.
> However, it's possible that it causes other problems, so I haven't
> committed it to the master branch. Anyway, I have pushed this change as
> the "unicode" branch. I'll try to put some more time into it later, but
> feel free to try it out in the meantime.

As James pointed out to me earlier, the change in the unicode branch
didn't actually work. Now that I've actually tested committing a change
with Unicode text, I've tracked down the simple problem. The working
change is committed in the urls branch, which should be merged into the
master branch sometime this week.

James Carroll

unread,
Jul 12, 2009, 7:08:41 PM7/12/09
to smug...@googlegroups.com
cool.....
Reply all
Reply to author
Forward
0 new messages