Skip to content

Commit

Permalink
utf8
Browse files Browse the repository at this point in the history
  • Loading branch information
jdpgrailsdev committed Dec 12, 2024
1 parent 57005f5 commit fc8b050
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ object BlueSkyUtils {
resolvers: Map<BlueSkyFacetType, (mention: String) -> 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(
Expand Down

0 comments on commit fc8b050

Please sign in to comment.