A
A
alex stephen2015-02-24 14:45:51
PHP
alex stephen, 2015-02-24 14:45:51

VK API: stored procedures, how to write Cyrillic?

The problem is the following.
I actively use stored procedures in VK.API ... I need to somehow store an array there in Russian, but after saving and re-opening my code in the internal editor, I get this:

var foobar = ["Ну прочитал ты, ну и что?"];

How can I fix it?
Alternative: How can I pass an array in the list of parameters (which are Args).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alex stephen, 2015-02-25
@berezuev

The problem turned out to be obvious... In the editor, for some reason, cp1251 was set instead of utf8. Hence the jambs when copying from my editor to the browser window

S
SagePtr, 2015-02-25
@SagePtr

In hex via \uXXXX

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question