Android Question Supported string encodings?

Discussion in 'Android Questions' started by agraham, Jun 1, 2019.

  1. agraham

    agraham Expert Licensed User

    Is there any way of getting a list of all the encodings supported by String.GetBytes? I'm sure in times gone by that I used to know how to see this but I can no longer remember and can't find any hints in the forum.

    I need this as I am presently playing with a thermal printer that has a load of code pages available. Luckily I've solved my immediate problem by using "IBM437" as the parameter to GetBytes, getting there by a process of trial and error and divine inspiration.
     
  2. Jorge M A

    Jorge M A Active Member Licensed User

    Attached Files:

  3. agraham

    agraham Expert Licensed User

    Yes, thank you. That looks very promising as I know that at least some of those canonical names already work .
     
    Jorge M A likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice