character « decimal « Java Data Type Q&A





1. How do I get the decimal value of a unicode character in Java?    stackoverflow.com

I need a programmatic way to get the decimal value of each character in a String, so that I can encode them as HTML entities, for example: UTF-8:

???
Decimal:
著者名

2. Character to Decimal    forums.oracle.com