PHP içinde (vekil çiftleri dahil) geçerli bir UTF-16 JavaScript kaçış dizisi karakterleri oluşturmak için bir yol arıyorum.
I'm using the code below to get the UTF-32 code points (from a UTF-8 encoded character). This works as JavaScript escape characters (eg. '\u00E1' for 'á') - until you get into the upper ranges where you get surrogate pairs (eg '