aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/healthmarketscience/jackcess/impl/General97IndexCodes.java
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2024-05-14 01:42:22 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2024-05-14 01:42:22 +0000
commit1c8a93bf9e0bac22ba14f3f50c1299e82f79b1e2 (patch)
tree0a613b8544af2888d4cfcbbce8a58269a4d1b5f0 /src/main/java/com/healthmarketscience/jackcess/impl/General97IndexCodes.java
parent0bacfe48446d629d43d0d735c5c9583b877f60d5 (diff)
downloadjackcess-1c8a93bf9e0bac22ba14f3f50c1299e82f79b1e2.tar.gz
jackcess-1c8a93bf9e0bac22ba14f3f50c1299e82f79b1e2.zip
Add support for surrogate pairs in text indexes (e.g. emoticons), fixes #157
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1413 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/main/java/com/healthmarketscience/jackcess/impl/General97IndexCodes.java')
-rw-r--r--src/main/java/com/healthmarketscience/jackcess/impl/General97IndexCodes.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/healthmarketscience/jackcess/impl/General97IndexCodes.java b/src/main/java/com/healthmarketscience/jackcess/impl/General97IndexCodes.java
index 77ebb67..a988a03 100644
--- a/src/main/java/com/healthmarketscience/jackcess/impl/General97IndexCodes.java
+++ b/src/main/java/com/healthmarketscience/jackcess/impl/General97IndexCodes.java
@@ -114,7 +114,7 @@ public class General97IndexCodes extends GeneralLegacyIndexCodes
char c = str.charAt(i);
CharHandler ch = getCharHandler(c);
- byte[] bytes = ch.getInlineBytes();
+ byte[] bytes = ch.getInlineBytes(c);
if(bytes != null) {
// write the "inline" codes immediately
bout.write(bytes);