From: Alex <exilit@nm.ru> To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru> Subject: Re[2]: [sisyphus] пересборка javamail Date: Wed, 4 May 2005 14:15:49 +0300 Message-ID: <32984185.20050504141549@nm.ru> (raw) In-Reply-To: <42788B0B.7080905@gorodmasterov.com> Здравствуйте. VL> Вы уверены, что проблема в javamail? Кодировки могут слететь по пути, VL> через apache, например. нет не уверен :)) одним словом задача стоит весьма простая: "Оно должно работать" судя по всему так же пробелма должна наблюдаться и в Вашей сборке этого дела решение нашел простое влазим в исходники и редактируем (простое да ;))) DBFixer.java st.executeUpdate("UPDATE usrdata SET compose_type = html"); DBWorker.java if (no.user.containsKey("rs2.usrdata.compose_type")) { tmp = no.user.get("rs2.usrdata.compose_type").toString(); } else { tmp = "html"; } UserSettings.java st.execute("INSERT INTO usrdata (username, vcard, quotation, savecopy, htmlview, delete, maxrows, disposition, address_sel, preview,htmlcompose,compose_type,color_quotation,graphical_emoticons,line_wrap,forward,signature_pos) VALUES ('" + wus.getUsername() + "','" + "NO','" + "YES','" + "YES','" + "NO','" + "NO'," + "25," + "'1'," + "'groupware'," + "'YES'," + "'YES'," + "'html'," + "'YES'," + "'YES'," + "72," + "'ATTACHMENT'," + "'below')"); Суть этих патчей заменить везде text на html - что даёт формирование мессаг в формате html который как бы корректно отображается. Размышляя на тему - заставить всех при входе сразу менять настройки - тоже выход - но более сложный чем пропатчить исходники.Это первое Второе - по моим наблюдениям есть некоторые траблы с русским переводом, а именно некоторые файлы в процессе отображения конвертируются с UTF-8 в что-то другое в результате на экране аброкадабра. Вылечилось в принципе заменой всех ISO-8859-1 в исходниках на UTF-8 - криво - но работает. Что именно и где поменять смогу сказать как вопрос встанет в очередной раз .. :-)) PS html млжно заменить на alternative что мне больше нравится - в этом случае мессаги формируются в текстовом и html-ном виде PPS - решаются таким образом большенсвто проблем с "вопросиками" - но не все ... -- С уважением, Alex mailto:exilit@nm.ru
prev parent reply other threads:[~2005-05-04 11:15 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-05-04 6:54 Alex 2005-05-04 8:12 ` Alexey Borovskoy 2005-05-04 8:21 ` Vladimir Lettiev 2005-05-04 8:23 ` Re[2]: " Alex 2005-05-04 8:42 ` Vladimir Lettiev 2005-05-04 11:15 ` Alex [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=32984185.20050504141549@nm.ru \ --to=exilit@nm.ru \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git