Opened 11 years ago
Closed 11 years ago
#1478 closed defect (bug) (fixed)
Credits API: Remove `remove_accents()`
| Reported by: | ocean90 | Owned by: | ocean90 |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | API | Keywords: | |
| Cc: |
Description
It's time to show people's real name. Follow-up to #117.
I'm going to use the same approach as we're using for the plugins API.
private function _encode( $raw ) {
$raw = mb_convert_encoding( $raw, 'UTF-8', 'ASCII, JIS, UTF-8, Windows-1252, ISO-8859-1' );
return ent2ncr( htmlspecialchars_decode( htmlentities( $raw, ENT_NOQUOTES, 'UTF-8' ), ENT_NOQUOTES ) );
}
Let's see how this will work.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 2202: