You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "YAMADA KENICHI (Created) (JIRA)" <ji...@apache.org> on 2012/02/18 10:18:59 UTC

[jira] [Created] (CB-261) FileWriter write multi bytes write occurs miss move pointer

FileWriter write multi bytes write occurs miss move pointer
-----------------------------------------------------------

                 Key: CB-261
                 URL: https://issues.apache.org/jira/browse/CB-261
             Project: Apache Callback
          Issue Type: Bug
          Components: Android
    Affects Versions: 1.4.0
         Environment: Android2.3
            Reporter: YAMADA KENICHI
            Assignee: Joe Bowser


FileWriter write one is OK.
But I  wrote multi bytes characters,second write overwrites some characters.
After write pointer must move by byte-count, but move by length(I think).

Please fix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-261) FileWriter write multi bytes write occurs miss move pointer

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

Joe Bowser commented on CB-261:
-------------------------------

Yes, this bug is still open.  Please fill out the ICLA and send it back before submitting the patch.

http://www.apache.org/licenses/icla.pdf
                
> FileWriter write multi bytes write occurs miss move pointer
> -----------------------------------------------------------
>
>                 Key: CB-261
>                 URL: https://issues.apache.org/jira/browse/CB-261
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.4.0
>         Environment: Android2.3
>            Reporter: YAMADA KENICHI
>            Assignee: Joe Bowser
>             Fix For: 1.6.0
>
>
> FileWriter write one is OK.
> But I  wrote multi bytes characters,second write overwrites some characters.
> After write pointer must move by byte-count, but move by length(I think).
> Please fix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (CB-261) FileWriter write multi bytes write occurs miss move pointer

Posted by "David Marques (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226165#comment-13226165 ] 

David Marques edited comment on CB-261 at 3/9/12 4:04 PM:
----------------------------------------------------------

Hi All,

Is this bug still open? If so I would be interested in sending a patch with the fix!

Thanks and keep up with the good work!

David
                
      was (Author: dpsmarques):
    Hi All,

Is this bug still open? If so I would be interested in sending a patch with he fix!

Thanks and keep up with the good work!

David
                  
> FileWriter write multi bytes write occurs miss move pointer
> -----------------------------------------------------------
>
>                 Key: CB-261
>                 URL: https://issues.apache.org/jira/browse/CB-261
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.4.0
>         Environment: Android2.3
>            Reporter: YAMADA KENICHI
>            Assignee: Joe Bowser
>
> FileWriter write one is OK.
> But I  wrote multi bytes characters,second write overwrites some characters.
> After write pointer must move by byte-count, but move by length(I think).
> Please fix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-261) FileWriter write multi bytes write occurs miss move pointer

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

Joe Bowser updated CB-261:
--------------------------

    Fix Version/s: 1.6.0
    
> FileWriter write multi bytes write occurs miss move pointer
> -----------------------------------------------------------
>
>                 Key: CB-261
>                 URL: https://issues.apache.org/jira/browse/CB-261
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.4.0
>         Environment: Android2.3
>            Reporter: YAMADA KENICHI
>            Assignee: Joe Bowser
>             Fix For: 1.6.0
>
>
> FileWriter write one is OK.
> But I  wrote multi bytes characters,second write overwrites some characters.
> After write pointer must move by byte-count, but move by length(I think).
> Please fix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CB-261) FileWriter write multi bytes write occurs miss move pointer

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

Joe Bowser resolved CB-261.
---------------------------

    Resolution: Incomplete

I need more info to work on this.
                
> FileWriter write multi bytes write occurs miss move pointer
> -----------------------------------------------------------
>
>                 Key: CB-261
>                 URL: https://issues.apache.org/jira/browse/CB-261
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.4.0
>         Environment: Android2.3
>            Reporter: YAMADA KENICHI
>            Assignee: Joe Bowser
>             Fix For: 1.6.0
>
>
> FileWriter write one is OK.
> But I  wrote multi bytes characters,second write overwrites some characters.
> After write pointer must move by byte-count, but move by length(I think).
> Please fix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-261) FileWriter write multi bytes write occurs miss move pointer

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

David Marques commented on CB-261:
----------------------------------

Hi All,

Is this bug still open? If so I would be interested in sending a patch with he fix!

Thanks and keep up with the good work!

David
                
> FileWriter write multi bytes write occurs miss move pointer
> -----------------------------------------------------------
>
>                 Key: CB-261
>                 URL: https://issues.apache.org/jira/browse/CB-261
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.4.0
>         Environment: Android2.3
>            Reporter: YAMADA KENICHI
>            Assignee: Joe Bowser
>
> FileWriter write one is OK.
> But I  wrote multi bytes characters,second write overwrites some characters.
> After write pointer must move by byte-count, but move by length(I think).
> Please fix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-261) FileWriter write multi bytes write occurs miss move pointer

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

YAMADA KENICHI commented on CB-261:
-----------------------------------

Please use Japanese encoding.
                
> FileWriter write multi bytes write occurs miss move pointer
> -----------------------------------------------------------
>
>                 Key: CB-261
>                 URL: https://issues.apache.org/jira/browse/CB-261
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.4.0
>         Environment: Android2.3
>            Reporter: YAMADA KENICHI
>            Assignee: Joe Bowser
>             Fix For: 1.6.0
>
>
> FileWriter write one is OK.
> But I  wrote multi bytes characters,second write overwrites some characters.
> After write pointer must move by byte-count, but move by length(I think).
> Please fix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-261) FileWriter write multi bytes write occurs miss move pointer

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

Joe Bowser commented on CB-261:
-------------------------------

This appears to be an issue with encoding.  I need a solid test case before I can look into this further.  I've created a simple test using Chinese Traditonal characters from Google Translate, and these tests appear to pass without issue.  Can we get more info about this bug?
                
> FileWriter write multi bytes write occurs miss move pointer
> -----------------------------------------------------------
>
>                 Key: CB-261
>                 URL: https://issues.apache.org/jira/browse/CB-261
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.4.0
>         Environment: Android2.3
>            Reporter: YAMADA KENICHI
>            Assignee: Joe Bowser
>             Fix For: 1.6.0
>
>
> FileWriter write one is OK.
> But I  wrote multi bytes characters,second write overwrites some characters.
> After write pointer must move by byte-count, but move by length(I think).
> Please fix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-261) FileWriter write multi bytes write occurs miss move pointer

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

David Marques commented on CB-261:
----------------------------------

Hi Joe,

Do you need contributors to sign CLAs? If so, is there a way to sign it digitally?

Thanks in advance,

David
                
> FileWriter write multi bytes write occurs miss move pointer
> -----------------------------------------------------------
>
>                 Key: CB-261
>                 URL: https://issues.apache.org/jira/browse/CB-261
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.4.0
>         Environment: Android2.3
>            Reporter: YAMADA KENICHI
>            Assignee: Joe Bowser
>             Fix For: 1.6.0
>
>
> FileWriter write one is OK.
> But I  wrote multi bytes characters,second write overwrites some characters.
> After write pointer must move by byte-count, but move by length(I think).
> Please fix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-261) FileWriter write multi bytes write occurs miss move pointer

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

Joe Bowser commented on CB-261:
-------------------------------

Apache requires us to have contributors sign the ICLA before anything can be contributed. You can send a signed copy to secretary@apache.org.
                
> FileWriter write multi bytes write occurs miss move pointer
> -----------------------------------------------------------
>
>                 Key: CB-261
>                 URL: https://issues.apache.org/jira/browse/CB-261
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.4.0
>         Environment: Android2.3
>            Reporter: YAMADA KENICHI
>            Assignee: Joe Bowser
>             Fix For: 1.6.0
>
>
> FileWriter write one is OK.
> But I  wrote multi bytes characters,second write overwrites some characters.
> After write pointer must move by byte-count, but move by length(I think).
> Please fix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira