tufanv Expert Licensed User Longtime User Mar 31, 2017 #1 Hello, I have a question. Please check this url: https://mothereff.in/byte-counter if you type ÜRN1 ( with turkish charachter U with dots , you can just copy paste ) it says it is : 4 chars but 5 bytes. The dots change the byte value. I was using in my app for the string :"Ürün1" string.length to find the length but i realized that what i need is the byte length. How can i calculate the byte length of Ürün1 string for example ? TY
Hello, I have a question. Please check this url: https://mothereff.in/byte-counter if you type ÜRN1 ( with turkish charachter U with dots , you can just copy paste ) it says it is : 4 chars but 5 bytes. The dots change the byte value. I was using in my app for the string :"Ürün1" string.length to find the length but i realized that what i need is the byte length. How can i calculate the byte length of Ürün1 string for example ? TY
JordiCP Expert Licensed User Longtime User Mar 31, 2017 #2 This? Code: Copy Log ("Ürün1".GetBytes("UTF8").Length) Upvote 0