https://kotlinlang.org logo
#intellij
Title
# intellij
m

MBegemot

09/04/2021, 11:26 AM
Hi in intellij in the debug window in variables strings have 4 properties content, value, coder and hash. What is the meaning of coder? as much as I know it can be either 0 or 1 . I'm having trouble in converting from UTF16_LE to UTF8
A regular variable string shows a coder=0, but a UTF8 string from a file shows coder=1 , this makes impossible to work with regular expressions as there should be both coders=0 (I guess so). Is there a way to transform a string from one coder to another?
2 Views