mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 03:33:28 +08:00
Escape string in Java
This commit is contained in:
parent
30fc9ed9ba
commit
39342dd06a
@ -57,7 +57,7 @@ public class QRCodeDetectorTest extends OpenCVTestCase {
|
||||
}
|
||||
|
||||
public void testKanji() throws UnsupportedEncodingException {
|
||||
String inp = new String("こんにちは世界");
|
||||
String inp = new String("\u3053\u3093\u306B\u3061\u306F\u4E16\u754C");
|
||||
|
||||
QRCodeEncoder_Params params = new QRCodeEncoder_Params();
|
||||
params.set_mode(QRCodeEncoder.MODE_KANJI);
|
||||
|
Loading…
Reference in New Issue
Block a user