I just built a misfin server. I tried sending and receiving misfin mails, but it seems that the Japanese and emojis are garbled.
https://gitlab.com/cipres/misfin/-/merge_requests/2
You'll be able to use Japanese on the existing misfin server.
Posted in: s/misfin
๐ balloon
16 hours ago
๐ balloon [OP] ยท 10 hours ago:
I changed my misfin server. With this, Japanese should be processed properly.
๐ cipres ยท 8 hours ago:
@balloon I've replied to you on the Gitlab issue. By the way thanks again for the Japanese translation.
๐ balloon [OP] ยท 7 hours ago:
@cipres Thank you again for your support.
Regarding my original post,
This is because a problem occurs when sending a message from (cipres) misfin to (clseibold's) misfin-server.
That message (containing multibyte characters) seems to be missing a few bytes at the end of the body.
So, I think it's either the body length or the body processing issue.
โ https://gitlab.com/clseibold/misfin-server/-/work_items/3
Since the misfin-server side is causing garbled characters, I created issues for that.
There are few Asian users here. Therefore, it seems that no user had ever used multibyte characters on Misfin before.
๐ cipres ยท 6 hours ago:
@balloon This is very interesting, thank you for raising the issue. I will try to fix this as soon as possible.
๐ cipres ยท 6 hours ago:
@balloon Could you please provide a sample japanese body message that triggers the problem ?
๐ balloon [OP] ยท 6 hours ago:
@cipres You'll encounter anything in Japanese.
# ๆฅๆฌ่ชใในใ
ๆฅๆฌ่ชใในใ
Emojis too
# ๐๐
ด๐๐
๐
๐ด๐
๐
๐
ฃ๐
๐
ข๐
ฃ
โฃโโขโฃ
๐ cipres ยท 6 hours ago:
@balloon With a long multi-byte message, it works fine. When i exceed 2048 bytes, this is the error i get:
Traceback (most recent call last):
File "/home/cipres/code/misfin/misfin/misfin.py", line 370, in receive_from
req = Request.incoming(_receive_line(conn))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cipres/code/misfin/misfin/misfin.py", line 114, in incoming
raw = raw.decode("utf-8")
^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 2046-2047: unexpected end of data
This is when i use the "misfin send-as ..." command.
@balloon What is the size of the message you're sending ?
๐ cipres ยท 6 hours ago:
@balloon I have no problem sending the sample message you shared. In the misfin UI, it displays correctly, nothing garbled.
๐ balloon [OP] ยท 6 hours ago:
This issue does not occur on the same Misfin server. Again, the problem I encountered was sending from "misfin" to "misfin-server" [1].
[1]
โ https://gitlab.com/clseibold/misfin-server
๐ cipres ยท 6 hours ago:
@balloon Yes, got it.