0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

FriendsOfFlarum/webhooksでUTF-8エンコードエラーが発生するときに読むメモ

Last updated at Posted at 2021-08-01

前提条件

発現環境

  • Discord Webhooks 使用時

エラーが発生する原因

  • Webhook送信部分に、フォーラム名をトリミングする処理が実装されている。
  • 日本語等マルチバイト文字が考慮されていないため、ゴミ文字が発生してしまう。

確認・修正すべきファイル

  • src/Adapters/Discord/Adapter.php
  • 当該実装の除去
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?