Hi,

What could be the reason that importing java.net.URLDecoder works as
expected but doing the same with java.net.URLEncoder doesn't.

The following works:

  import module namespace decoder = "java.net.URLDecoder";
  decoder:decode('foo/bar%20baz')

  => 'foo/bar baz'

This gives a "Could not instantiate module 'java.net.URLEncoder'

  import module namespace encoder = "java.net.URLEncoder";
  encoder:encode('foo/bar baz')

--Marc

Reply via email to