• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Error reading binary file in Javascript

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I'm trying to read and write a binary file (fingerprint). The contents of binary files are below:

tL.|¢Tn>ªÏû•"q‚º†k‹ë²¶zño‰JÇ5»

I read this file with the following command:



But it's happening a problem. When I see the file content that has been read, some characters are not loaded. The following file after read:

tL.|¢Tn>ªÏû•"q‚º†k‹ë²¶zño‰JÇ5»

For example, do you realize that the symbol "", between characters û and " was not read.

Why?

What should I do to read and write all the characters?

Please, I need to urgently solve this problem.

Thanks.
 
Ranch Hand
Posts: 43
Spring Tomcat Server Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you check or alert out the size of the string? If the size is correct, it is possible that only the display is incomplete due to the limitations of the alert popup. The data may actually be there and complete.
 
Space pants. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic