My friend could u help me to chante the special charters before inserting
them unto database
El ene 22, 2013 3:45 p.m., "asgallant" <[email protected]> escribió:
> The string returned by your query is a JSON string (JSON stands for
> JavaScript Object Notation, it's just a format for passing data).
>
> On Tuesday, January 22, 2013 4:34:40 PM UTC-5, Chrystopher Medina wrote:
>>
>> Thanks my friend in fact Im was reading a little about cakephp thanks.
>> Hey my friend But if i Dont use json in this i just use php Or i Have to
>> put this for php hender(''content-type:**aplication/json;charset=utf-8'*
>> *');
>> El ene 22, 2013 10:46 a.m., "asgallant" <[email protected]>
>> escribió:
>> >
>> > There are a bunch of tutorials on jQuery AJAX here (including one
>> combining AJAX and CakePHP, which might be useful if you are planning on
>> working with Cake).
>> >
>> > For the character encoding, there could be a few things happening here:
>> 1) the browser isn't in UTF8 mode, 2) the server isn't sending data in
>> UTF8, or 3) MySQL isn't fetching data as UTF8. Double check your browser's
>> character encoding settings just to make sure. If that doesn't fix the
>> problem, add this line to your PHP data source, right before you echo the
>> data:
>> >
>> > header("Content-type: **application/json; charset=utf-8");
>> >
>> > If that doesn't fix the problem, then you'll have to check the database
>> output to make sure it's in the right character set.
>> >
>> > On Tuesday, January 22, 2013 6:25:17 AM UTC-5, Chrystopher Medina wrote:
>> >>
>> >>
>> >> my friend and could u help me with something else. u know i have to
>> use "Ñ" and "á" u know in my database i have utf8 and if i see in my
>> database i have someting like this "los baños estan bien" but when i show
>> that in my
>> >> interface i can see this "los baÑos estan bien" u know whats going on
>> here.
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups "Google Visualization API" group.
>> > To view this discussion on the web visit https://groups.google.com/d/**
>> msg/google-visualization-api/-**/tZ50331vy2EJ<https://groups.google.com/d/msg/google-visualization-api/-/tZ50331vy2EJ>
>> .
>> >
>> > To post to this group, send email to google-visua...@**googlegroups.com
>> .
>> > To unsubscribe from this group, send email to google-visualization-api+
>> **[email protected].
>> > For more options, visit this group at http://groups.google.com/**
>> group/google-visualization-**api?hl=en<http://groups.google.com/group/google-visualization-api?hl=en>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-visualization-api/-/uePmKSSHCc8J.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.