How to do percent encoding of a string as described in RFC 3986 ? That is, I do not want (IMO, strange) www-url-form-encoded, how different .
If that matters, I encode data that is not necessarily an integer URL.
As you have already determined, standard libraries do not cope very well with this problem.
Try to use either Guava PercentEscaper , or directly one of the escapers depending on the part of the URL that you are trying to encode.
PercentEscaper
Source: https://habr.com/ru/post/1208004/More articles:https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1207999/phone-version-of-universal-app-seems-to-be-caching-database-even-after-uninstall&usg=ALkJrhi2n_Y-h4cdfAkFAaUS9IOes3TptgSparking error: superior to spark.akka.frameSize Consider casting - scalaHow to choose the "last working day of the month" in Pandas? - pythonHow to find if two numbers are consecutive numbers in a gray code sequence - javanull fields using Spring REST and JSON load controller - jsonAre export type constructors different? - haskellClass NotFoundException in IntelliJ IDEA - javaRamifications of using DBContext with dependency injection - c #Requiring an assignment operator for a key type in std :: map - c ++Failed to create certificate when I want to start the source. / vars and. / clean-all - ubuntu-14.04All Articles