You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Martynas Jusevičius <ma...@atomgraph.com> on 2022/11/10 18:57:12 UTC

Encoding URI component

Hi,

What's the current way of encoding a URI component? E.g. query string
value, or a fragment.

I'm guessing there is something in the IRIx package, but its Javadoc is down:
https://jena.apache.org/documentation/javadoc/jena/org/apache/jena/irix/package-summary.html

Martynas

Re: Encoding URI component

Posted by Martynas Jusevičius <ma...@atomgraph.com>.
Got it.

I found the URL on SO: https://stackoverflow.com/a/67021655/1003113

On Thu, Nov 10, 2022 at 9:40 PM Andy Seaborne <an...@apache.org> wrote:
>
>
>
> On 10/11/2022 18:57, Martynas Jusevičius wrote:
> > Hi,
> >
> > What's the current way of encoding a URI component? E.g. query string
> > value, or a fragment.
>
> IRILib.encodeUriComponent
>
> >
> > I'm guessing there is something in the IRIx package, but its Javadoc is down:
> > https://jena.apache.org/documentation/javadoc/jena/org/apache/jena/irix/package-summary.html
>
> No it's not.
>
> Go into the javadoc and use the search.
>
> This is the way.
>
> https://jena.apache.org/documentation/javadoc/jena/org.apache.jena.core/org/apache/jena/irix/package-summary.html
>
>      Andy
>
> >
> > Martynas

Re: Encoding URI component

Posted by Andy Seaborne <an...@apache.org>.

On 10/11/2022 18:57, Martynas Jusevičius wrote:
> Hi,
> 
> What's the current way of encoding a URI component? E.g. query string
> value, or a fragment.

IRILib.encodeUriComponent

> 
> I'm guessing there is something in the IRIx package, but its Javadoc is down:
> https://jena.apache.org/documentation/javadoc/jena/org/apache/jena/irix/package-summary.html

No it's not.

Go into the javadoc and use the search.

This is the way.

https://jena.apache.org/documentation/javadoc/jena/org.apache.jena.core/org/apache/jena/irix/package-summary.html

     Andy

> 
> Martynas