Problems with special characters.

View: New views
3 Messages — Rating Filter:   Alert me  

Problems with special characters.

by jpuerta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Greetings...

We are working on an implementation using SCA/SDO...
So far it has been working all right, but we are having trouble when
we get special characters in the response ( like á,ñ and other spanish
characters). We obtain this error:

Fatal error: Uncaught exception 'SDO_PropertyNotSetException' with
message 'Cannot read property 'getMenuListReturn' because it is not
set' in /usr/local/php/lib/SCA_SDO-1.2.3/SCA/Bindings/soap/Proxy.php:
231 Stack trace: #0 /usr/local/php/lib/SCA_SDO-1.2.3/SCA/Bindings/soap/
Proxy.php(231): SCA_Bindings_soap_Proxy::__call() #1 [internal
function]: SCA_Bindings_soap_Proxy->__call('getMenuList', Array) #2 /
usr/local/apache2/htdocs/workspace_jpuerta/YummyPHPProj/htdocs/
clientvillano.php(7): SCA_Bindings_soap_Proxy->getMenuList() #3 {main}
thrown in /usr/local/php/lib/SCA_SDO-1.2.3/SCA/Bindings/soap/Proxy.php
on line 231

Do you have any recommendation to handle this?

Thank you very much in advance...
jpuerta

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa-unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Problems with special characters.

by Tatto de Castro :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi JPuerta,

    Are you using your strings in UTF-8, right?
    Please try to use htmlspecialchars and htmlspecialchars_decode or put "<![CDATA[" and "]]>".
    I recommend you to use the first option.

    More info: http://en.wikipedia.org/wiki/CDATA

    I hope this work for you like it did to me.

    Have a nice day, Tatto

jpuerta wrote:
Greetings...

We are working on an implementation using SCA/SDO...
So far it has been working all right, but we are having trouble when
we get special characters in the response ( like á,ñ and other spanish
characters). We obtain this error:

Fatal error: Uncaught exception 'SDO_PropertyNotSetException' with
message 'Cannot read property 'getMenuListReturn' because it is not
set' in /usr/local/php/lib/SCA_SDO-1.2.3/SCA/Bindings/soap/Proxy.php:
231 Stack trace: #0 /usr/local/php/lib/SCA_SDO-1.2.3/SCA/Bindings/soap/
Proxy.php(231): SCA_Bindings_soap_Proxy::__call() #1 [internal
function]: SCA_Bindings_soap_Proxy->__call('getMenuList', Array) #2 /
usr/local/apache2/htdocs/workspace_jpuerta/YummyPHPProj/htdocs/
clientvillano.php(7): SCA_Bindings_soap_Proxy->getMenuList() #3 {main}
thrown in /usr/local/php/lib/SCA_SDO-1.2.3/SCA/Bindings/soap/Proxy.php
on line 231

Do you have any recommendation to handle this?

Thank you very much in advance...
jpuerta



  

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa-unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---


begin:vcard
fn:Tatto de Castro
n:de Castro;Thiago
email;internet:tatto@...
tel;work:+55 48 91224073
tel;cell:+55 48 91224073
x-mozilla-html:TRUE
version:2.1
end:vcard


Re: Problems with special characters.

by jpuerta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thank you very much for your quick answer...
We will try this...

jpuerta

On 26 Feb, 09:11, Tatto de Castro <tattodecas...@...> wrote:

> Hi JPuerta,
>
>     Are you using your strings in UTF-8, right?
>     Please try to use htmlspecialchars and htmlspecialchars_decode or
> put "<![CDATA[" and "]]>".
>     I recommend you to use the first option.
>
>     More info:http://en.wikipedia.org/wiki/CDATA
>
>     I hope this work for you like it did to me.
>
>     Have a nice day, Tatto
>
>
>
> jpuerta wrote:
> > Greetings...
>
> > We are working on an implementation using SCA/SDO...
> > So far it has been working all right, but we are having trouble when
> > we get special characters in the response ( like á,ñ and other spanish
> > characters). We obtain this error:
>
> > Fatal error: Uncaught exception 'SDO_PropertyNotSetException' with
> > message 'Cannot read property 'getMenuListReturn' because it is not
> > set' in /usr/local/php/lib/SCA_SDO-1.2.3/SCA/Bindings/soap/Proxy.php:
> > 231 Stack trace: #0 /usr/local/php/lib/SCA_SDO-1.2.3/SCA/Bindings/soap/
> > Proxy.php(231): SCA_Bindings_soap_Proxy::__call() #1 [internal
> > function]: SCA_Bindings_soap_Proxy->__call('getMenuList', Array) #2 /
> > usr/local/apache2/htdocs/workspace_jpuerta/YummyPHPProj/htdocs/
> > clientvillano.php(7): SCA_Bindings_soap_Proxy->getMenuList() #3 {main}
> > thrown in /usr/local/php/lib/SCA_SDO-1.2.3/SCA/Bindings/soap/Proxy.php
> > on line 231
>
> > Do you have any recommendation to handle this?
>
> > Thank you very much in advance...
> > jpuerta
>
>
>
>  tattodecastro.vcf
> 1KDownload- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa-unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---

LightInTheBox - Buy quality products at wholesale price