Closed lotem closed 5 months ago
Avoid using RimeGet*Dir() from rime_api. They return native path on Windows and coding conversion is incurred.
RimeGet*Dir()
rime_api
When passing path from lua to librime class, use either rime::path object or UTF-8 encoded string.
還有一小部份 ,可否一起
These changes are in my commit. Anything else?
Changed file_name(db) to return ANSI string. PTAL
file_name(db)
LGTM. Added some code to ensure it can build with librime <= 1.9.0
Avoid using
RimeGet*Dir()
fromrime_api
. They return native path on Windows and coding conversion is incurred.When passing path from lua to librime class, use either rime::path object or UTF-8 encoded string.