This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix getNN in python bindings to avoid 'utf-8' codec can't decode erro…
…r. (#967) Summary: This [earlier commit](e13484b) fixed issue #715 by casting all strings to Python strings. However, this functionality was not added to getNN and I was seeing the same error when querying nearest neighbors for Japanese language. This commit simply adapts castToPythonString to the get NN function. Pull Request resolved: #967 Reviewed By: EdouardGrave Differential Revision: D19287807 Pulled By: Celebio fbshipit-source-id: 31fb8b4d643848f3f22381ac06f2443eb70c0009
- Loading branch information