A special character is coming in the JSON response.

This space is made available to users of Open Patent Services (OPS) web-service and now also to users of EPO’s bulk data subscription products such as 14. EPO worldwide bibliographic database (DOCDB), 14.11 EPO worldwide legal status database (INPADOC), 14.12 EP full text data, 14.1 EP bibliographic data (EBD)and more.

Users can ask each other questions, exchange experiences and solutions, post ideas. The moderator will use this space to announce changes or other relevant information.
Post Reply

sujith3g
Posts: 9
Joined: Fri Jul 10, 2015 10:32 am

A special character is coming in the JSON response.

Post by sujith3g » Wed Jul 15, 2015 9:59 am

I'm using the JSON response of the OPS published data service. I have noticed that there is some special characters(like " ") is coming in the JSON Response. This is not there in the XML response.

for example check EP1234567 http://ops.epo.org/3.1/rest-services/pu ... 567/biblio in the XML Response the Applicant Name in epodoc format is "IVOCLAR VIVADENT AG [LI]".

But the same in JSON response is "IVOCLAR VIVADENT AG [LI]" there is an extra character "â".

I think this issue is related open-patent-services-and-publication-se ... c2519.html. I didn't found any solution/workaround to avoid or remove the special characters.

I'm wondering this special characters may come in any other fields too ?


EPO / OPS Support
Posts: 1044
Joined: Thu Feb 22, 2007 5:32 pm

Re: A special character is coming in the JSON response.

Post by EPO / OPS Support » Wed Jul 15, 2015 10:25 am

Hi,
As mentioned by you already, we don't have this character in XML so I don't think there is anything we can do about this:

Code: Select all

 <parties>
                    <applicants>
                        <applicant sequence="1" data-format="epodoc">
                            <applicant-name>
                                <name>IVOCLAR VIVADENT AG [LI]</name>
                            </applicant-name>
                        </applicant>
                        <applicant sequence="1" data-format="original">
                            <applicant-name>
                                <name>IVOCLAR VIVADENT AG</name>
                            </applicant-name>
                        </applicant>
                    </applicants>
                    <inventors>
                        <inventor sequence="1" data-format="epodoc">
                            <inventor-name>
                                <name>VOGEL KARIN [LI]</name>
                            </inventor-name>
                        </inventor>
                        <inventor sequence="2" data-format="epodoc">
                            <inventor-name>
                                <name> NEUBERT ROLAND [AT]</name>
                            </inventor-name>
                        </inventor>
                        <inventor sequence="3" data-format="epodoc">
                            <inventor-name>
                                <name> SALZ ULRICH [DE]</name>
                            </inventor-name>
                        </inventor>
                        <inventor sequence="4" data-format="epodoc">
                            <inventor-name>
                                <name> RHEINBERGER VOLKER [LI]</name>
                            </inventor-name>
                        </inventor>
                        <inventor sequence="1" data-format="original">
                            <inventor-name>
                                <name>VOGEL, KARIN, </name>
                            </inventor-name>
                        </inventor>
                        <inventor sequence="2" data-format="original">
                            <inventor-name>
                                <name>NEUBERT, ROLAND, </name>
                            </inventor-name>
                        </inventor>
                        <inventor sequence="3" data-format="original">
                            <inventor-name>
                                <name>SALZ, ULRICH, </name>
                            </inventor-name>
                        </inventor>
                        <inventor sequence="4" data-format="original">
                            <inventor-name>
                                <name>RHEINBERGER, VOLKER</name>
                            </inventor-name>
                        </inventor>
                    </inventors>
                </parties>
But maybe some other JSON user would have a tip for you.

Also, to me the issue is not related to mentioned thread because in that case character was already present in XML.

Theoretically, special characters could show up in any text field.

Kind regards,
OPS support


sujith3g
Posts: 9
Joined: Fri Jul 10, 2015 10:32 am

Re: A special character is coming in the JSON response.

Post by sujith3g » Wed Jul 15, 2015 10:38 am

Thanks for immediate response.

Is it like OPS Team recommends XML Response, and for proper functionality/support Do we have to switch to XML Response parsing ?


EPO / OPS Support
Posts: 1044
Joined: Thu Feb 22, 2007 5:32 pm

Re: A special character is coming in the JSON response.

Post by EPO / OPS Support » Wed Jul 15, 2015 1:07 pm

Hi,

We were hoping that some of forum users using Json would join the discussion and have some tips for you. I am sure they are more knowledgeable and would be able to assist you better.

Let's wait and see if someone has a proposition for you

Regards,
OPS support


Post Reply