3 ms·Note that internally Java represents strings as utf-16by sorokod 10y agoNote that internally Java represents strings as utf-16grandinj 10y agoDepends. The API for strings in java is mostly UTF16 but the latest JVM will magically use UTF8 as its internal representation.pjmlp 10y agoOnly the Oracle one, it doesn't apply to other vendors.