diff options
author | 2014-05-14 11:10:51 +0000 | |
---|---|---|
committer | 2014-05-14 11:10:51 +0000 | |
commit | 60497abd91a5aa85cedf37c1e6d80fb17239e898 (patch) | |
tree | e816b7274ea99b6cc5e26e31dff5557df2b1b726 /native/jni/src/utils/jni_data_utils.cpp | |
parent | 98c3001c467d7925d440f2bff26063a865b99e45 (diff) | |
parent | 5c00bde9bc67d757a33cbaeba7158852c08a39fb (diff) | |
download | latinime-60497abd91a5aa85cedf37c1e6d80fb17239e898.tar.gz latinime-60497abd91a5aa85cedf37c1e6d80fb17239e898.tar.xz latinime-60497abd91a5aa85cedf37c1e6d80fb17239e898.zip |
am 5c00bde9: Merge "Filter out control characters and non-unicode code points."
* commit '5c00bde9bc67d757a33cbaeba7158852c08a39fb':
Filter out control characters and non-unicode code points.
Diffstat (limited to 'native/jni/src/utils/jni_data_utils.cpp')
-rw-r--r-- | native/jni/src/utils/jni_data_utils.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/native/jni/src/utils/jni_data_utils.cpp b/native/jni/src/utils/jni_data_utils.cpp new file mode 100644 index 000000000..5555293d5 --- /dev/null +++ b/native/jni/src/utils/jni_data_utils.cpp @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2014 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "utils/jni_data_utils.h" + +namespace latinime { + +const int JniDataUtils::CODE_POINT_REPLACEMENT_CHARACTER = 0xFFFD; +const int JniDataUtils::CODE_POINT_NULL = 0; + +} // namespace latinime |