Re: UnicodeDecodeError in template rendering due to ’ (angled apostrophe)

2010-08-24 Thread sj l
utf-8 is great, just save it in utf-8 2010/8/25 Karen Tracey > On Tue, Aug 24, 2010 at 8:58 PM, Yo-Yo Ma wrote: > >> Fireworks isn't an HTML editor. I copied some text from a Fireworks >> mock up. The issue isn't that Fireworks put smart quotes,

Re: UnicodeDecodeError in template rendering due to ’ (angled apostrophe)

2010-08-24 Thread Karen Tracey
On Tue, Aug 24, 2010 at 8:58 PM, Yo-Yo Ma wrote: > Fireworks isn't an HTML editor. I copied some text from a Fireworks > mock up. The issue isn't that Fireworks put smart quotes, which I was > well aware of. It was the fact that a Django template didn't allow > smart

Re: MySQL index hints

2010-08-24 Thread Russell Keith-Magee
On Wed, Aug 25, 2010 at 5:11 AM, Michael Manfre wrote: > I don't think namespacing is a valid objection against query hints. By > design, query hints are specific to a database version and if a > generic django app were to include them, then the author is doing > something

Re: UnicodeDecodeError in template rendering due to ’ (angled apostrophe)

2010-08-24 Thread Yo-Yo Ma
Fireworks isn't an HTML editor. I copied some text from a Fireworks mock up. The issue isn't that Fireworks put smart quotes, which I was well aware of. It was the fact that a Django template didn't allow smart quotes. I was concerned that this might be a bug. On Aug 24, 6:46 pm, Josh Ourisman

Re: UnicodeDecodeError in template rendering due to ’ (angled apostrophe)

2010-08-24 Thread Josh Ourisman
Perhaps I'm misinterpreting the error, but it sounds more to me like the problem is with Adobe Fireworks inserting smart quotes where they have no business being. I'm also not aware of Fireworks being an HTML editing program, so I'm not entirely sure why you're creating templates with it. On Tue,

Re: UnicodeDecodeError in template rendering due to ’ (angled apostrophe)

2010-08-24 Thread Yo-Yo Ma
@Josh - really helpful. Thanks. So, if Django had a bug pertaining to character encoding, it wouldn't be appropriate for me to report it here because I discovered it while I was developing a site. On Aug 24, 6:39 pm, Josh Ourisman wrote: > Simple solution: don't use Adobe

Re: UnicodeDecodeError in template rendering due to ’ (angled apostrophe)

2010-08-24 Thread Yo-Yo Ma
Perhaps it isn't a bug in Django. My document's encoding is Western European (CP-1252). Is this typical, or should I manually choose ASCII? On Aug 24, 6:35 pm, Yo-Yo Ma wrote: > I just downloaded trunk about 2 hours ago, and I have a template that > has a ’

UnicodeDecodeError in template rendering due to ’ (angled apostrophe)

2010-08-24 Thread Yo-Yo Ma
I just downloaded trunk about 2 hours ago, and I have a template that has a ’ character (angle style apostrophe that happens if you type something like "This doesn't work" in Fireworks (turns to "This doesn’t work" in Abobe Fireworks). When rendering a static page consisting of only the template,

Re: MySQL index hints

2010-08-24 Thread Michael Manfre
I don't think namespacing is a valid objection against query hints. By design, query hints are specific to a database version and if a generic django app were to include them, then the author is doing something wrong or setting the expectation of only supporting a very specific environment. Any

Re: Documentation problems: Django at a glance

2010-08-24 Thread Russell Keith-Magee
On Tue, Aug 24, 2010 at 3:15 PM, Rodney Topor wrote: > [Cross-posted from Django Users] The answer you've got on django-users is dead on the money. It says right at the top of the overview "This is not a tutorial or reference". It's meant to be a brief taster for what Django

Documentation problems: Django at a glance

2010-08-24 Thread Rodney Topor
[Cross-posted from Django Users] The "Django at a glance" aka "Overview" page at http://docs.djangoproject.com/en/dev/intro/overview/ is intended to introduce new users to models, queries (using the API), URLs, views, templates and so on. In short, it's a simpler version of the tutorial. But it