Skip to content

Invalid input syntax when inserting urls with accents #8

@natoinet

Description

@natoinet

Hello,

When inserting urls with accents, I run into the following error:

insert into urljson values ('http://www.example.com/évidemment', 200, 'text/html; charset=UTF-8', 33055);
ERROR:  invalid input syntax for type uri at or near "évidemment"
LINE 1: insert into urljson values ('http://www.example.com/évidemme...
                                                     ^

I know that urls should not contain accents ... But they actually do! Is it caused by some kind of encoding problems?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions