title: Lengthy string compression/decompression in Java
body: <p>I am looking for String length compression to avoid lengthy filename as below. The string contains UTF-8 characters as well.</p>
  <blockquote>
  <p>&quot;dt=20200623_isValid=valid_module_name=A&amp;B&amp;C_data_source=internet_part-00001-1234-9d12-1234-123d-1234567890a1.b001.json&quot;</p>
  </blockquote>
  <p>Tried Huffman compression from GitHub <a href="https://github.com/marvinjason/HuffmanCoding" rel="nofollow noreferrer">here</a>, it reduces the size but not much on the String length.</p>
  <blockquote>
  <p>Size before compression: 944</p>
  <p>Size after compression: 569</p>
  <p>Compressed string:
  01011111001111100011101000111011101011001000111110001101000011011001000110001111010001010111111001010110001111010001010001101101010000101101110001110000000110101011010110100000111111001101011111100111101111110100000010101011011110011000010011001000101110010011101001000001111101001010111110000001001101010000111100001110101001100100111110001011101110111011101001001010011000111110111000101100000101100110000010100110001111101110001010011000111110101001010011000111110111011010111011001101100110110111000011100110100111000111011101110111010011100011101111001100100010101</p>
  </blockquote>
  <p>Please advise how to achieve length compression in Java? (The decompressed file Name value is needed for further processing).</p>