From fc8b050295523c463f492b9c0cf313a40b04e0ce Mon Sep 17 00:00:00 2001 From: Jonathan Pearlin Date: Thu, 12 Dec 2024 15:45:28 -0500 Subject: [PATCH] utf8 --- .../com/jdpgrailsdev/oasis/timeline/util/BlueSkyUtils.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autobot/src/main/kotlin/com/jdpgrailsdev/oasis/timeline/util/BlueSkyUtils.kt b/autobot/src/main/kotlin/com/jdpgrailsdev/oasis/timeline/util/BlueSkyUtils.kt index a011e9b..735649b 100644 --- a/autobot/src/main/kotlin/com/jdpgrailsdev/oasis/timeline/util/BlueSkyUtils.kt +++ b/autobot/src/main/kotlin/com/jdpgrailsdev/oasis/timeline/util/BlueSkyUtils.kt @@ -46,10 +46,10 @@ object BlueSkyUtils { resolvers: Map String>, ): BlueSkyRecord = BlueSkyRecord( - text = String(text.toByteArray(Charsets.UTF_8)), + text = String(text.toByteArray(Charsets.UTF_8), Charsets.UTF_8), createdAt = TIMESTAMP_FORMAT.format(Instant.now()), reply = reply, - facets = createFacets(text = String(text.toByteArray(Charsets.UTF_8)), resolvers = resolvers), + facets = createFacets(text = String(text.toByteArray(Charsets.UTF_8), Charsets.UTF_8), resolvers = resolvers), ) fun createReply(