Skip to content

Unicode support requested #4242

@opencv-pushbot

Description

@opencv-pushbot

Transferred from http://code.opencv.org/issues/148

|| Илья Москвин on 2010-02-25 21:54
|| Priority: Low
|| Affected: None
|| Category: highgui-gui
|| Tracker: Feature
|| Difficulty: None
|| PR: None
|| Platform: None / None

Unicode support requested

We use the new Python bindings and have to use non-english chars in window names and file pathes. Please, couldn@t you add Unicode support to OpenCV, if possible?

History

David Ullmann on 2011-04-25 09:50
It's still not possible to build OpenCV (highgui module) with unicode support (platform windows 7, visual studio 2010, OpenCV SVN, 32 bit).
This makes it almost impossible to use OpenCV with wxWidgets > 2.9, which defaults to unicode.
None on 2012-02-12 18:57
-   Description changed from We use the new Python bindings and have to
    use non-english chars in window n... to We use the new Python
    bindings and have to use non-english chars in window n... More
Vadim Pisarevsky on 2012-04-24 14:47
1. OpenCV can create files with non-English names when they are encoded using UTF-8 and passed as normal text strings (tested on Linux and MacOSX).
2. Since OpenCV does not yet support Python 3.x and in Python 2.x text strings are encoded with UTF-8 (i.e. in the format as OpenCV expects it), it's possible to pass a unicode filename to OpenCV function directly using UTF-8 encoding.
3. On Windows it can work too, but instead of UTF-8 the current 1-byte encoding should be used.

So, it's possible (and there is always rename() function in the case of file names); Therefore, I lower the priority of the task.
-   Priority changed from High to Low
-   Assignee set to Vadim Pisarevsky
Andrey Kamaev on 2012-08-16 15:23
-   Category changed from highgui-images to highgui-gui

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions