You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Michael Brooks (JIRA)" <ji...@apache.org> on 2012/09/01 02:11:07 UTC

[jira] [Created] (CB-1361) Remove UTF-8 Dependency on JavaScript File

Michael Brooks created CB-1361:
----------------------------------

             Summary: Remove UTF-8 Dependency on JavaScript File
                 Key: CB-1361
                 URL: https://issues.apache.org/jira/browse/CB-1361
             Project: Apache Cordova
          Issue Type: Bug
          Components: App Hello World
    Affects Versions: 2.2.0
            Reporter: Michael Brooks
            Assignee: Michael Brooks
             Fix For: 2.2.0


In {{www/js/index.js}}, some of the comments reference code blocks using a single tick (markdown convention):

{noformat}
// Call `app.receivedEvent(name);` to do something
{noformat}

Using the tick means the file is encoded in UTF-8 instead of ASCII. Changing the ticket to a single apostrophe allows the file to be encoded with ASCII characters.

{noformat}
// Call 'app.receivedEvent(name);' to do something
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1361) Remove UTF-8 Dependency on JavaScript File

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447904#comment-13447904 ] 

Michael Brooks commented on CB-1361:
------------------------------------

There was no problem at all. I have a habit of using a tick to wrap inline code blocks and Jesse brought up that the tick forces the file to be encoded as UTF-8. It was an easy fix to change so I just did it.

Nice to know that a tick is ASCII. Maybe I'll put it back ;)
                
> Remove UTF-8 Dependency on JavaScript File
> ------------------------------------------
>
>                 Key: CB-1361
>                 URL: https://issues.apache.org/jira/browse/CB-1361
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: App Hello World
>    Affects Versions: 2.2.0
>            Reporter: Michael Brooks
>            Assignee: Michael Brooks
>             Fix For: 2.2.0
>
>
> In {{www/js/index.js}}, some of the comments reference code blocks using a single tick (markdown convention):
> {noformat}
> // Call `app.receivedEvent(name);` to do something
> {noformat}
> Using the tick means the file is encoded in UTF-8 instead of ASCII. Changing the ticket to a single apostrophe allows the file to be encoded with ASCII characters.
> {noformat}
> // Call 'app.receivedEvent(name);' to do something
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1361) Remove UTF-8 Dependency on JavaScript File

Posted by "Patrick Mueller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447287#comment-13447287 ] 

Patrick Mueller commented on CB-1361:
-------------------------------------

"back tick" is an ASCII character, 0x60.  See: http://en.wikipedia.org/wiki/ASCII

What was the actual problem you were having?
                
> Remove UTF-8 Dependency on JavaScript File
> ------------------------------------------
>
>                 Key: CB-1361
>                 URL: https://issues.apache.org/jira/browse/CB-1361
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: App Hello World
>    Affects Versions: 2.2.0
>            Reporter: Michael Brooks
>            Assignee: Michael Brooks
>             Fix For: 2.2.0
>
>
> In {{www/js/index.js}}, some of the comments reference code blocks using a single tick (markdown convention):
> {noformat}
> // Call `app.receivedEvent(name);` to do something
> {noformat}
> Using the tick means the file is encoded in UTF-8 instead of ASCII. Changing the ticket to a single apostrophe allows the file to be encoded with ASCII characters.
> {noformat}
> // Call 'app.receivedEvent(name);' to do something
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CB-1361) Remove UTF-8 Dependency on JavaScript File

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Brooks resolved CB-1361.
--------------------------------

    Resolution: Fixed
    
> Remove UTF-8 Dependency on JavaScript File
> ------------------------------------------
>
>                 Key: CB-1361
>                 URL: https://issues.apache.org/jira/browse/CB-1361
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: App Hello World
>    Affects Versions: 2.2.0
>            Reporter: Michael Brooks
>            Assignee: Michael Brooks
>             Fix For: 2.2.0
>
>
> In {{www/js/index.js}}, some of the comments reference code blocks using a single tick (markdown convention):
> {noformat}
> // Call `app.receivedEvent(name);` to do something
> {noformat}
> Using the tick means the file is encoded in UTF-8 instead of ASCII. Changing the ticket to a single apostrophe allows the file to be encoded with ASCII characters.
> {noformat}
> // Call 'app.receivedEvent(name);' to do something
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1361) Remove UTF-8 Dependency on JavaScript File

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446514#comment-13446514 ] 

Michael Brooks commented on CB-1361:
------------------------------------

Commit https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-app-hello-world.git;a=commit;h=4822a0c0427739cae4386d4ab396d4904ae51c7d
                
> Remove UTF-8 Dependency on JavaScript File
> ------------------------------------------
>
>                 Key: CB-1361
>                 URL: https://issues.apache.org/jira/browse/CB-1361
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: App Hello World
>    Affects Versions: 2.2.0
>            Reporter: Michael Brooks
>            Assignee: Michael Brooks
>             Fix For: 2.2.0
>
>
> In {{www/js/index.js}}, some of the comments reference code blocks using a single tick (markdown convention):
> {noformat}
> // Call `app.receivedEvent(name);` to do something
> {noformat}
> Using the tick means the file is encoded in UTF-8 instead of ASCII. Changing the ticket to a single apostrophe allows the file to be encoded with ASCII characters.
> {noformat}
> // Call 'app.receivedEvent(name);' to do something
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira