? Success

User tests: Successful: Unsuccessful:

avatar mabdelaziz77
mabdelaziz77
1 Feb 2016

It has to detect the status encoding at first, if it is already utf8 encoded, then send it as it is without anymore encoding.

avatar mabdelaziz77 mabdelaziz77 - open - 1 Feb 2016
avatar mabdelaziz77 mabdelaziz77 - change - 1 Feb 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Feb 2016
Labels Added: ?
avatar brianteeman
brianteeman - comment - 1 Feb 2016

There are a few code style fixes required. See the Travis checks for details.

It would be great if you could supply some sample code so that people can test this easier.

avatar wilsonge
wilsonge - comment - 1 Feb 2016

We don't require the mb php extension here so we need to find a work around for these users (I guess even a function_exists will do in a worst case). StringHelper::is_ascii might work?

avatar mabdelaziz77
mabdelaziz77 - comment - 2 Feb 2016

@brianteeman Ok, will do that.
Sorry, it is the first time for me to post on joomla repo.

avatar brianteeman brianteeman - change - 5 Apr 2016
Category Libraries
avatar roland-d
roland-d - comment - 1 Aug 2016

Hello @mabdelaziz77

Thank you for your contribution.

The last comment here was on 2nd February. Could you update the pull request with the needed changes as pointed out by @wilsonge
If no reply is received within 4 weeks we will close this issue.

Thanks for understanding!


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9044.

avatar brianteeman brianteeman - change - 1 Aug 2016
Status Pending Information Required
avatar mabdelaziz77 mabdelaziz77 - change - 3 Aug 2016
The description was changed
avatar mabdelaziz77 mabdelaziz77 - edited - 3 Aug 2016
avatar mabdelaziz77
mabdelaziz77 - comment - 12 Aug 2016

Hello @roland-d
I will try to find a workaround.
Thanks @wilsonge for your advice.

avatar brianteeman
brianteeman - comment - 12 Aug 2016

Thank you

avatar roland-d
roland-d - comment - 12 Aug 2016

@mabdelaziz77 Thank you for your answer. Does this mean we can close this request or you will try to find another solution and update this request?

avatar ggppdk
ggppdk - comment - 12 Aug 2016

The original commit used mb_*:

b96165a

but then it was changed to use:

if (utf8_is_valid($status))

15772dc

so mbstring dependency was removed
does the new code work ?

avatar mabdelaziz77
mabdelaziz77 - comment - 12 Aug 2016

Sorry, it was long time since I made this pull request.
mbstring dependency was already removed as @ggppdk noticed, and the commit message on Feb 2 declared this removal.

avatar brianteeman brianteeman - change - 25 Aug 2016
Status Information Required Pending
avatar sanderpotjer
sanderpotjer - comment - 4 Nov 2016

@mabdelaziz77 could you please fix the conflict in libraries/joomla/twitter/statuses.php. Is the code ready for testing or are additional changes coming, not really clear for me at the moment.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/9044.

avatar mbabker
mbabker - comment - 21 May 2017

If this is still a valid issue the code should be updated to call \Joomla\String\StringHelper::valid() versus utf8_is_valid() directly. Also, since this package is deprecated in the CMS, the corresponding Framework package should be checked and a PR issued there with the same fix.

avatar franz-wohlkoenig franz-wohlkoenig - change - 22 May 2017
The description was changed
Status Pending Information Required
avatar joomla-cms-bot joomla-cms-bot - edited - 22 May 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 27 May 2017

If this PR get no Response, it will be closed at 22th June 2017.

avatar franz-wohlkoenig franz-wohlkoenig - change - 22 Jun 2017
Status Information Required Closed - No Reply
Closed_Date 0000-00-00 00:00:00 2017-06-22 03:56:45
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - close - 22 Jun 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 Jun 2017

closed as stated above.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/9044.

avatar joomla-cms-bot
joomla-cms-bot - comment - 22 Jun 2017

Add a Comment

Login with GitHub to post a comment