What is $context['utf8'] in EA?
What is $context['utf8'] equivalent code in EA, if any? It is reported as an undefined error.
Re: What is $context['utf8'] in EA?
Reply #1 –
If I got it right, $context['convert_utf8'] in SMF is true if the forum is configured to use UTF-8, false otherwise.
ElkArte is UTF8-only, so I guess we just dropped the variable because pointless (in the sense that it shall be always true).
Re: What is $context['utf8'] in EA?
Reply #2 –
I know EA is UTF-8 only as I was asking about this charset last time, but for social login addon (that I am converting) it will get data from the social media API which may not be in UTF-8 form, thus that need to be converted to UTF-8. Thus, there is a need for that, at least to be added to the addon.
Can you point me where or how do I create this UTF-8 check as I am not so sure how to do it?
Re: What is $context['utf8'] in EA?
Reply #4 –
I do believe that's data that I am talking about and it is taken from the social media sites for the forum. That particular option is available in the OneAll control panel/settings. There is no point on taking it from the forum for media sites. But I may be wrong.
Anyway, that is not a main issue for me to make it work but the ip address. For this utf-8 undefined error, I think I could uncomment it temporarily.