cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

If your Cloud Collaboration question is not answered quickly, please email devsupport@webex.com for additional help

1069
Views
1
Helpful
4
Replies
Highlighted
Beginner

Special Characters

Is the XML API is designed to accept special characters?  If so, how do you use them?

I tried sending through a registration with this as the user name:

Test User 1  1ã 2é 3汉字 4

but the registration page instead showed this as the name:

Test User 1 1ã 2é 3汉字 4

As you can see, both of the Spanish characters were converted to a duet of special characters, and the Chinese characters were similar converted to a set of symbols.  We need to be able to support these foreign characters for our non-English webinars.

Do I just need to change the encoding, is this a change made at the account level, or are special characters just not supported?  For reference, my entire API call body is below.

Thanks,

Nicholas

<?xml version="1.0" encoding="ISO-8859-1"?>

<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <header>

        <securityContext>

            <webExID>xxxxxxxxxx</webExID>

            <password>xxxxxxxxxx</password>

            <siteID>xxxxxxxxxx</siteID>

            <siteName>xxxxxxxxxxxxxxxxxxxx</siteName>

        </securityContext>

    </header>

    <body>

        <bodyContent xsi:type="java:com.webex.service.binding.attendee.RegisterMeetingAttendee">

            <attendees>

                <person>

                    <name>Test User 1  1ã 2é 3汉字 4end</name>

                    <title>title</title>

                    <company>PM.com</company>

                    <address>

                        <addressType>PERSONAL</addressType>

                        <city>Pittsburgh</city>

                        <country>USA</country>

                    </address>

                    <email>nicholas@xxxxxxxxxxxxxxx.com</email>

                    <notes>notes 12345</notes>

                    <url>https://</url>

                    <type>VISITOR</type>

                </person>

                <joinStatus>ACCEPT</joinStatus>

                <role>ATTENDEE</role>

                <emailInvitations>false</emailInvitations>

                <sessionKey>123456789</sessionKey>

            </attendees>

        </bodyContent>

    </body>

</serv:message>

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Contributor

Re: Special Characters

Change your encoding to UTF-8 and you should be able to encode special characters, in UTF8

<?xml version="1.0" encoding="UTF-8"?>

View solution in original post

4 REPLIES 4
Highlighted
Contributor

Re: Special Characters

Change your encoding to UTF-8 and you should be able to encode special characters, in UTF8

<?xml version="1.0" encoding="UTF-8"?>

View solution in original post

Highlighted
Beginner

Re: Special Characters

Thank you.  I tried UTF-8 without success.  It resulted in the same character conversion that I saw with the original encoding.

Highlighted
Contributor

Re: Special Characters

Is your app/tool actually encoding the values into UTF-8 when they are posted to the XML Service URI?

Highlighted
Beginner

Re: Special Characters

No, it was not.  Thank you.  This is now resolved.

This widget could not be displayed.