Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-39335

ord() unicode analog for textlib

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.3
    • Fix Version/s: 2.5
    • Component/s: Language
    • Labels:

      Description

      Textlib contains the code2utf8($num) function, but there's no inverse function like utf8ord($char) which can be useful for some developers.

      Here's a git branch I created for this issue:
      https://github.com/vostreltsov/moodle/commit/334e3dd5bec760d4cd52e7dd3fc490c3bba884d7

      The issue is quite trivial and should be easy to merge to the master branch.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/May/13