How to pass UTF/Unicode string path to imread in Java?

asked 2014-11-11 15:56:00 -0600

Dindo gravatar image

I am trying to open images in Java using 2.4.9 ocv on Windows. But using simple imread(String) fails for paths that contain non-ascii characters (such as "Š"). Unfortunately, there is no way to change internal String encoding in Java.

So how to pass these paths?

edit retag flag offensive close merge delete