adding charset - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: adding charset (/thread-3556.html) |
adding charset - snetekombinerke - 06-18-2008 04:44 AM How can i add charset to apache? I need windows-1250 charset. I'm from slovenia (SI).... Our language has special characters and they are not displayed properly with default install of apache and ispcp omega. Please help me RE: adding charset - Solvik - 06-18-2008 05:04 AM You need to edit the /etc/apache2/conf.d/charset file In mine, it is: Quote:AddDefaultCharset UTF-8 You just need to replace UTF-8 by windows-1250 i think then restart apache RE: adding charset - MrMarv - 06-18-2008 05:43 AM Hi! I recently found this option in Include/ispcp.conf (which is, depending on your system, somehow included to your main apache config) Code: # This need be changed to UTF-8 or windows-1250 or any another type which support your local characters and your like. Greetings so Slovenia! Marv RE: adding charset - snetekombinerke - 06-18-2008 08:24 AM I found thisc file \etc\ispcp\apache\working\ispcp.conf I have DEBIAN what if I want youst support for windows-1250, and not set default charset I found: AddLanguage ca .ca AddLanguage cs .cz .cs AddLanguage da .dk AddLanguage de .de AddLanguage el .el AddLanguage en .en AddLanguage eo .eo AddLanguage es .es AddLanguage et .et AddLanguage fr .fr AddLanguage he .he AddLanguage hr .hr AddLanguage it .it AddLanguage ja .ja AddLanguage ko .ko AddLanguage ltz .ltz AddLanguage nl .nl AddLanguage nn .nn AddLanguage no .no AddLanguage pl .po AddLanguage pt .pt AddLanguage pt-BR .pt-br AddLanguage ru .ru AddLanguage sv .sv AddLanguage zh-CN .zh-cn AddLanguage zh-TW .zh-tw In \etc\apache2 apache2.conf and: AddCharset us-ascii .ascii .us-ascii AddCharset ISO-8859-1 .iso8859-1 .latin1 AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen AddCharset ISO-8859-3 .iso8859-3 .latin3 AddCharset ISO-8859-4 .iso8859-4 .latin4 AddCharset ISO-8859-5 .iso8859-5 .cyr .iso-ru AddCharset ISO-8859-6 .iso8859-6 .arb .arabic AddCharset ISO-8859-7 .iso8859-7 .grk .greek AddCharset ISO-8859-8 .iso8859-8 .heb .hebrew AddCharset ISO-8859-9 .iso8859-9 .latin5 .trk AddCharset ISO-8859-10 .iso8859-10 .latin6 AddCharset ISO-8859-13 .iso8859-13 AddCharset ISO-8859-14 .iso8859-14 .latin8 AddCharset ISO-8859-15 .iso8859-15 .latin9 AddCharset ISO-8859-16 .iso8859-16 .latin10 AddCharset ISO-2022-JP .iso2022-jp .jis AddCharset ISO-2022-KR .iso2022-kr .kis AddCharset ISO-2022-CN .iso2022-cn .cis AddCharset Big5 .Big5 .big5 .b5 AddCharset cn-Big5 .cn-big5 # For russian, more than one charset is used (depends on client, mostly): AddCharset WINDOWS-1251 .cp-1251 .win-1251 AddCharset CP866 .cp866 AddCharset KOI8 .koi8 AddCharset KOI8-E .koi8-e AddCharset KOI8-r .koi8-r .koi8-ru AddCharset KOI8-U .koi8-u AddCharset KOI8-ru .koi8-uk .ua AddCharset ISO-10646-UCS-2 .ucs2 AddCharset ISO-10646-UCS-4 .ucs4 AddCharset UTF-7 .utf7 AddCharset UTF-8 .utf8 AddCharset UTF-16 .utf16 AddCharset UTF-16BE .utf16be AddCharset UTF-16LE .utf16le AddCharset UTF-32 .utf32 AddCharset UTF-32BE .utf32be AddCharset UTF-32LE .utf32le AddCharset euc-cn .euc-cn AddCharset euc-gb .euc-gb AddCharset euc-jp .euc-jp AddCharset euc-kr .euc-kr #Not sure how euc-tw got in - IANA doesn't list it??? AddCharset EUC-TW .euc-tw AddCharset gb2312 .gb2312 .gb AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2 AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4 AddCharset shift_jis .shift_jis .sjis Do I have to add charset in this file or ispcp overrides apache file? TNX for fast reply RE: adding charset - Cube - 06-18-2008 09:53 AM Are the not correctly displayed characters in ispCP or in a website? RE: adding charset - snetekombinerke - 06-19-2008 03:53 AM on web site I need it for oscommerce RE: adding charset - Cube - 06-19-2008 04:59 AM And does this website have the correct content-type-meta-tag? RE: adding charset - snetekombinerke - 06-19-2008 05:48 AM I have installed this site to 3 diferent servers at webhosting companys... and it works.... now i want it on my own server RE: adding charset - peman - 07-29-2008 10:36 PM In my ispCP when a mail goes out to a customer, it cant show the swedish letters åäö, instead it shows åäö. Its a Debian server and the charset is set to UTF-8 and its also the same in the system, for example if i send a mail from the terminal. The webmail works fine with åäö. Where can i change this? /Martin |