#1  
Old 7th September 2011, 16:07
giftsnake giftsnake is offline
Senior Member
 
Join Date: Jan 2009
Posts: 108
Thanks: 15
Thanked 9 Times in 8 Posts
Default billing module: encoding

there are some problems concerning the encoding (, , \n, etc...).

- the language editor displays no special characters
- editing the lng-files is not possible with a simple vi file.lng
- newlines are translated to 'n' instead of a real new lines

i can provide debug information, just tell me what.

thanks for the help
Reply With Quote
Sponsored Links
  #2  
Old 7th September 2011, 16:48
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

All ISPConfig files are utf8 encoded.The german language file contains special characters like umlauts and these files have been created with the builtin language editor from ispconfig, so this should normally work. I just tested it on my debian server with ispconfoig 3.0.3.3 and editing works flawlessly in google chrome and firefox. Editing with vi works fine as well.

Maybe your server has no utf8 locales installed or you use a different ispconfig version, the version that is required for the billing module is 3.0.3.3.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 7th September 2011, 17:42
giftsnake giftsnake is offline
Senior Member
 
Join Date: Jan 2009
Posts: 108
Thanks: 15
Thanked 9 Times in 8 Posts
Default

Quote:
Originally Posted by till View Post
All ISPConfig files are utf8 encoded.The german language file contains special characters like umlauts and these files have been created with the builtin language editor from ispconfig, so this should normally work. I just tested it on my debian server with ispconfoig 3.0.3.3 and editing works flawlessly in google chrome and firefox. Editing with vi works fine as well.

Maybe your server has no utf8 locales installed or you use a different ispconfig version, the version that is required for the billing module is 3.0.3.3.
- i have version 3.0.3.3 installed.
- locales:
Code:
# locale -a
C
de_DE.utf8
en_US.utf8
POSIX
- i downloaded the attachment (mail 5.0/OS X Lion), uploaded via ssh and unzipped the content into /tmp (imagefile, noexec). php install.php installed everything correct -except for the umlauts etc.

- testing firefox 6.02 and safari 5.1, both have the same problem.

edit:
Code:
file -i send_invoice_reminder.php 
send_invoice_reminder.php: text/x-php; charset=us-ascii

Last edited by giftsnake; 7th September 2011 at 17:46.
Reply With Quote
  #4  
Old 7th September 2011, 17:47
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

In which page do you see the encoding probkems? Or do you have the probelms only in the pdf invoice?

And the umlauts on the other sipconfig pages are correct, so the problem is only in the billing module?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 7th September 2011, 17:50
giftsnake giftsnake is offline
Senior Member
 
Join Date: Jan 2009
Posts: 108
Thanks: 15
Thanked 9 Times in 8 Posts
Default

the problem is only in the billing module. however, the pdfs generated are all fine.
after editing the pdf-language with the editor, the umlauts are also broken in the pdf files.

edit:
i see problems e.g. in the reminders section

edit2:
not all text elements are damaged. "neuen Datensatz hinzufgen" is fine.

Last edited by giftsnake; 7th September 2011 at 17:52.
Reply With Quote
  #6  
Old 7th September 2011, 17:54
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

Ok, I will try if I can reproduce that somehow on my servers. Please contact me by email about that issue, so that I can send you patchees or instructions on how to solve that.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freeradius and Mysql uvstudios HOWTO-Related Questions 4 19th February 2014 12:11
Proftpd + MySQL virtual users, can't connect geekman HOWTO-Related Questions 28 27th September 2010 18:03
FreeRadius + MySQL working, but I don't know how to customise SQL queries awe Installation/Configuration 4 4th April 2010 23:28
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Webmin docs missing namit Server Operation 11 5th January 2006 09:51


All times are GMT +2. The time now is 14:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.