Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6232531
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:07:57+00:00 2026-05-24T10:07:57+00:00

I am developing a compressor and the result are bytes (ASCII 0-255) that I

  • 0

I am developing a compressor and the result are bytes (ASCII 0-255) that I want to display in a TextArea (GWT), so that people can copy the compressed data and paste it as the value of a variable in their Javascript code. For example:

var s="alnj"; // alnj is the compressed code that they copied from the Text Area

The problem is that I cannot see some of these bytes (I just see like rectangles), and I am afraid people cannot copy&paste them successfully. What do you recommend me to solve this problem? Change the charset (utf-8)? Generate a JS file with the variable and the compressed code?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T10:07:58+00:00Added an answer on May 24, 2026 at 10:07 am

    You could base64 the output.

    Even when using UTF-8, there are still control characters present which will not render. The best solution most likely is to offer a “download” of the compressed data (=save as file dialog).

    Regarding the copy and paste, you can offer a “copy to clipboard” button. However, as I do not know where users are supposed to paste the data to, troubles might arise there then.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Developing an app that people pay a monthly subscription to use. They can pay
Developing a .NET WinForms application: how can I check if the window is in
I'm currently developing an application in C# that uses Amazon SQS The size limit
I am developing an application that distributes rendering across several devices (a university project).
I'm developing a Java game and want to bundle and play a number of
I'm developing sites using Wordpress and I want to use the lates version of
I'm developing an application that will need to communicate with itself running on different
I am developing a piece of software that records video from a live source
I'm developing a service in which users can upload images and save them in
I am developing an app that utilizes very large lookup tables to speed up

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.