Uploaded image for project: 'ICU'
  1. ICU-44

Need Unicode::digit(UChar, int8_t radix)

    Details

    • Type: Bug
    • Status: Done (View workflow)
    • Priority: assess
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: None
    • Components: unknown
    • Labels:

      Description

      The ICU class Unicode mirrors most of the API and functionality of
      java.lang.Character. One missing method is

      int digit(char c, int radix)

      We have

      digitValue

      but this only works for radix 10. It's hard for users to workaround this
      because they need access to the Unicode database to do so (if there are
      non-decimal digits other than [a-fA-F]).

        Attachments

          Activity

            People

            • Assignee:
              apibot TracBot
              Reporter:
              apibot TracBot
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                tracCreated: