senchalabs / jQTouch

Create powerful mobile apps with just HTML, CSS, and Zepto.js (or jQuery).
http://www.jqtouch.com/
MIT License
2.79k stars 592 forks source link

type error in vanilla.css #504

Closed VirtualCharlie closed 10 years ago

VirtualCharlie commented 10 years ago

Line 1262 in vanilla.css has content : '>'; which produces an unintended default. Line 1262 in vanilla.css should have content : ">"; which will yield the intended character.

thomasyip commented 10 years ago

Are you saying double quote will work while single doesn't?

Did you build the css yourself? Look like some file not saved in UTF-8 along the way.

VirtualCharlie commented 10 years ago

Thomas, I did not build the vanilla.css file, it came with the jQTouch download from GitHub. I simply copied the file to an appropriate directory. And yes, I am saying ">" returns > [as desired] while '>' returns â [unintended]. Someone may well have saved this vanila.css as ANSI rather than as UTF-8 (without BOM). I will check into that, whatever happened, it came about before I unzipped the jqtouch package which includes vanilla.css.

Charlie

From: Thomas @ BeeDesk [mailto:notifications@github.com] Sent: Friday, February 28, 2014 3:47 PM To: senchalabs/jQTouch Cc: VirtualCharlie Subject: Re: [jQTouch] type error in vanilla.css (#504)

Are you saying double quote will work while single doesn't? Did you build the css yourself? Look like some file not saved in UTF-8 along the way. — Reply to this email directly or view it on GitHub.

VirtualCharlie commented 10 years ago

Thomas,

            My Komodo 6 encoding is set to Save As UTF-8 without BOM. And I had otherwise only copied the file with Windows Explorer. Even so I took your suggestion to look at the original unzipped vanilla.css file which Notepad SAVE AS does see as an ANSI encoded file! That is not good at all. I use WinRaR to unzip files and I do not see any such encoding option on the WinRaR console. I have always assumed these packages simply unzip encoded-as-saved which would suggest that the vanilla.css file at GitHub is wrongly encoded. Maybe you can check on that and let me know. It would not be the first glitch at GitHub which I have experienced.

            Thank you for the followup. Your observation proved correct. Rest assured that I will be investigating a few other troublesome files with the Notepad "Save As" trick.

Charlie

From: Thomas @ BeeDesk [mailto:notifications@github.com] Sent: Friday, February 28, 2014 3:47 PM To: senchalabs/jQTouch Cc: VirtualCharlie Subject: Re: [jQTouch] type error in vanilla.css (#504)

Are you saying double quote will work while single doesn't?

Did you build the css yourself? Look like some file not saved in UTF-8 along the way.

— Reply to this email directly or view it on GitHub https://github.com/senchalabs/jQTouch/issues/504#issuecomment-36406606 .Image removed by sender.

thomasyip commented 10 years ago

I don't have a windows machine handy.

The line number your provided also drifted, making me think that it is not the latest version. If it isn't, then I think you might try to download this version instead:

https://github.com/senchalabs/jQTouch/releases/tag/v0.99.4rc9

It could be the zip file itself.

VirtualCharlie commented 10 years ago

Thomas,

            I downloaded jQtouch on January 29, 2014, version 1.0-b4-rc.zip… that vanilla.css. I am reviewing my techniques to see if I am creating this encoding morass. Clearly a button somewhere is not set to UTF-8. The only question is, whose button? Who knows what happens at GitHub.

Charlie

thomasyip commented 10 years ago

Alright, look like you downloaded it recently, but it was a year ago release. Major changes were made since then, we are not going to do anything to the old release.

It is renamed to 0.94rc4a, because I am trying to match the npm release number. Please do try the new version.

If same thing happens, kindly reopen this bug and I will take a look.

VirtualCharlie commented 10 years ago

Thomas

            I had qtouch 1.0 working once I straightened out the encoding, however, your recommendation to update to 0.99.4rc9 has set me back to zero. Now nothing works! Please specify the recommended download from those below; please point me toward detailed installation instructions. Each of the following unzips to a different file structure. I cannot get any to work. So I am confused. Opera displays my content but won't connect the index.html to the stylesheets. One of the packages below produces a themes/css folder for the classic css stylesheets while the other two have a themes/scss folder for "saucy" scss stylesheets. How does this work? Need I rewrite stylesheet references in my index.html?

Which jqtouch download should I use? One of these or yet another?

JQTouch-0.99.4rc9.zip 420 kb

            or

jQTouch-0.99.4rc9.tar.gz 287 kb

            or

jqt-demo-v0.99.4rc9-0-g6cfca478d17f.tgz 447 kb

Any and all assistance greatly appreciated.

Charlie

From: Thomas @ BeeDesk [mailto:notifications@github.com] Sent: Saturday, March 01, 2014 12:34 PM To: senchalabs/jQTouch Cc: VirtualCharlie Subject: Re: [jQTouch] type error in vanilla.css (#504)

Closed #504 https://github.com/senchalabs/jQTouch/issues/504 .

— Reply to this email directly or view it on GitHub https://github.com/senchalabs/jQTouch/issues/504 .Image removed by sender.

thomasyip commented 10 years ago

jqt-demo-v0.99.4rc9-0-g6cfca478d17f.tgz

is the full package. Once unzipped, you should able to open package/demos/index.html and try jqt with any webkit browser.

VirtualCharlie commented 10 years ago

Thomas,

            After unzipping jqt-demo-v0.99.4rc9-0-g6cfca478d17f.tgz I have placed package into c:/inepub/wwwroot/ which is localhost for this PC with Opera, Chrome and IE installed. The jqtouch index.html example will show as an application, however, the example is atypically located so an index.html file in the  wwwroot folder itself fails to connect with jqtouch, is therefore is without stylesheets, etcetera, and so displays as unformatted desktop html content. Where are the official JQTouch instructions on which files to place where, and which references to change so that jqt can work with ordinary localhost installations (index.html in /wwwroot) or otherwise. I suspect a number of changes must be made and several files relocated. This must be specified somewhere: Please point me to these required instructions.

            Thank you.

Charlie

From: Thomas @ BeeDesk [mailto:notifications@github.com] Sent: Saturday, March 01, 2014 4:41 PM To: senchalabs/jQTouch Cc: VirtualCharlie Subject: Re: [jQTouch] type error in vanilla.css (#504)

jqt-demo-v0.99.4rc9-0-g6cfca478d17f.tgz

is the full package. Once unzipped, you should able to open package/demos/index.html and try jqt with any webkit browser.

— Reply to this email directly or view it on GitHub https://github.com/senchalabs/jQTouch/issues/504#issuecomment-36441969 .Image removed by sender.

thomasyip commented 10 years ago

Sorry, I am not familiar with windows enough to help.

VirtualCharlie commented 10 years ago

Thomas,

            Assume I am using Linux as I can boot either into Win7 or Ubuntu on this box. Where are the installation details for a Linux environment specified? I don't see what I need on the jQTouch site. Once I send this I will look again.

Charlie

thomasyip commented 10 years ago

There is no instruction. You probably don't even need to deploy it to a webserver to try the demo. Just open.

`package/demos/index.html`

from your local directory with a webkit browser (Safari or Chrome).

I feel that your question is more of a general web server deployment question, which is out of the scope of this bug or jQT. I am not able to provide any additional instruction. Thanks.