You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Nick Wellnhofer (JIRA)" <ji...@apache.org> on 2013/02/18 21:53:12 UTC

[lucy-issues] [jira] [Created] (LUCY-252) Use wide character API on Windows

Nick Wellnhofer created LUCY-252:
------------------------------------

             Summary: Use wide character API on Windows
                 Key: LUCY-252
                 URL: https://issues.apache.org/jira/browse/LUCY-252
             Project: Lucy
          Issue Type: Improvement
          Components: Store
            Reporter: Nick Wellnhofer
            Priority: Minor


We should switch from the ANSI to the wide character API on Windows. The benefits are:

* Support for Unicode filenames.
* Support for long path names.

The required steps are:

* Implement a method to convert UTF-8 strings to UTF-16. Maybe something like {{ByteBuf *utf16 = CB_to_utf16(string);}}
* Switch from the 'A' to the 'W' functions of the Windows API, for example {{CreateFileW}}. (The 'A' functions are called implicitly now.)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira