[95] Results

Python : Print unicode escape characters and string

python unicode utf8-string

Couple of examples on how to print unicode string in Python. Nothing fancy, but it helps to explore the ways….... read more

Golang : Test input string for unicode example

golang test-unicode-string utf8 bufio


You are trying to create a slightly different solution for user that use unicode and you want to test….... read more

PHP : Proper way to get UTF-8 character or string length

php mb-strlen utf8 string-length

Problem :

Was trying to get a length of an unicode(UTF-8) character with PHP. Trouble is, PHP echoes back 3,….... read more

Golang : Generate random Chinese, Japanese, Korean and other runes

golang runes chinese-japanese-korean CJK random-string utf8

Alright, got a rare request here from a friend on how to generate a string of random Chinese, Japanese and….... read more

Golang : Frobnicate or tweaking a string example

golang hex embed-include-data executable-binary-file secret-text-string utf8

A simple example of how to frobnicate(tweaking) a string with UTF-8 characters. Useful in obscuring plain text in embedded….... read more

Golang : Get escape characters \u form from unicode characters

golang escape-characters unicode utf8

Problem :

You want to get the escape characters (\u form) from unicode characters(utf-8). How to do that?

Solution :

.... read more

Golang : How to verify input is rune?

golang rune valid-rune utf8

Problem :

You need to determine if the user input is a valid rune. How to do that?

Solution :

.... read more

Golang : How to print rune, unicode, utf-8 and non-ASCII CJK(Chinese/Japanese/Korean) characters?

golang rune utf8 quoted-verb

Problem :

You want to print rune, unicode or CJK(Chinese/Japanese/Korean) characters with Golang, but you are getting funny result. How….... read more