tliron / prudence

An opinionated lightweight web framework built for scale
https://prudence.threecrickets.com
Apache License 2.0
13 stars 5 forks source link

Wrong chars in prudence-test manual #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1) What's the problem?

This url has wrong encoded chars http://127.0.0.1:8080/prudence-test/manual/

2) How can someone else reproduce it?

Install the framework and open the url 
http://127.0.0.1:8080/prudence-test/manual/ (chrome 11.0.696.65 mac os x )

3) What operating system and JVM version are you using?

Mac os x 10.5.8 core 2 duo
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-9M3326)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)

[Don't forget to set the release version and flavor below]

prudence-javascript-R996 - javascript

Original issue reported on code.google.com by gianluca...@gmail.com on 10 May 2011 at 10:38

Attachments:

GoogleCodeExporter commented 9 years ago
The wrong chars are also present in 
prudence/applications/prudence-test/web/static/manual/index.html so the problem 
occurs during generation, not in the browser

Original comment by gianluca...@gmail.com on 10 May 2011 at 10:39

GoogleCodeExporter commented 9 years ago
Thanks for the report! I do not have a Mac handy right now, but on Chrome/Linux 
and Chrome/Windows this does not happen. Any clue on what's going on with your 
Mac? Does this happen on other browsers? (Safari? FF?)

Original comment by tal.liron on 11 May 2011 at 6:53

GoogleCodeExporter commented 9 years ago
yes it's happen also in Firefox 3.16 and Safari 5.0.5, The problem is the 
default page encoding, the chars display correct if I change the encode from 
Western(macintosh) to utf-8

Original comment by gianluca...@gmail.com on 11 May 2011 at 9:36

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks! That's a good direction... I will experiment with various encoding and 
see if I can set it to UTF8 explicitly.

Original comment by tal.liron on 11 May 2011 at 11:32

GoogleCodeExporter commented 9 years ago
I'm attaching an HTML generated using different eLyXer settings. Can you tell 
me if this one works OK for you?

Original comment by tal.liron on 12 May 2011 at 12:06

Attachments:

GoogleCodeExporter commented 9 years ago
It works like a charm, default encoding is now utf-8 in Chrome, Firefox, and 
Safari!

Original comment by gianluca...@gmail.com on 12 May 2011 at 12:13

GoogleCodeExporter commented 9 years ago
Thanks for the quick testing!

Original comment by tal.liron on 12 May 2011 at 12:24

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1004.

Original comment by tal.liron on 12 May 2011 at 12:25