eneam / mboxviewer

A small but powerfull app for viewing MBOX files
Other
430 stars 24 forks source link

a question #49

Open UglyPhone opened 1 year ago

UglyPhone commented 1 year ago

Hello, I would like to add a CSplitButton control to this project, but it must be defined (UNICODE) to use. How can I solve this problem? Thank you

zigm commented 1 year ago

I am close to finish porting the project to UNICODE. That would resolve your question. I likely need 2 weeks to make UNICODE release. I will post updates on progress.

UglyPhone commented 1 year ago

I am close to finish porting the project to UNICODE. That would resolve your question. I likely need 2 weeks to make UNICODE release. I will post updates on progress.

You're very kind, thank you very much.

UglyPhone commented 1 year ago

I have another question. In advanced search, you can search for txt text in attachments. If the attachments are other files such as doc or pdf, they are not supported. Can this function be implemented

zigm commented 1 year ago

Currently searching mail header content is fairly efficient since the header fields are decoded once and loaded into memory. Searching mail content is less efficient since mail text has to be decoded on the fly. Extracting text from pdf and doc* type documents on the fly would not very efficient assuming you are doing multiple searches of the attachments. Searching pdf and other type of documents is doable but I believe text would have have to be extracted once first.

There are free tools to extract text from pdf and doc* type documents such as pdfbox or LibreOffice.

Wrapper around LibreOffice exist in github:

https://github.com/unoconv/unoserver/

UglyPhone commented 1 year ago

目前搜索邮件头内容相当有效,因为头字段被解码一次并加载到内存中。搜索邮件内容的效率较低,因为邮件文本必须即时解码。假设您正在对附件进行多次搜索,那么从 pdf 和 doc* 类型的文档中动态提取文本不会非常有效。搜索 pdf 和其他类型的文档是可行的,但我相信必须先提取一次文本。

有免费的工具可以从 pdf 和 doc* 类型的文档(如 pdfbox 或 LibreOffice)中提取文本。

LibreOffice 的包装器存在于 github 中:

https://github.com/unoconv/unoserver/ thank you very much

zigm commented 1 year ago

I released v1.0.3.40 of MBox Viewer. This latest version was ported to Unicode. Port to Unicode required large changes to the source code.

Let me know if this Unicode version works for you. Appreciate if you find time to evaluate as many features as you can and report any issues you find. Enhancements requests are welcome and will be evaluated.

UglyPhone commented 9 months ago

I released v1.0.3.40 of MBox Viewer. This latest version was ported to Unicode. Port to Unicode required large changes to the source code.

Let me know if this Unicode version works for you. Appreciate if you find time to evaluate as many features as you can and report any issues you find. Enhancements requests are welcome and will be evaluated.

Yes, I am using version v1.0.3.40