miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
The Other miniBB Support Forums / The Other /   

In which format do I have to save scripts with a Macintosh

Author boteha
Registered
#1 | Posted: 16 Dec 2008 14:02 
Hello,

I work with a Macintosh.
When I have to modify a script or a template, I use BBEdit, which is supposed to be good.
But, after having save the document, I have several problems of display whith a PC or a Mac.

What is the good format ?

The choices are ?
1) File creator
BBEdit
generic text file
etc...
2) Save State
None
MPW Shell
BBEdit
3) Line breaks
Macintosh
Unix
Dos
Unicode
4) Encoding
Mac roman
Unicode (UTF-8)
Unicode (UTF-8, no BOM)
etc...

Thank you for your help.

Author Sergei
Team member
#2 | Posted: 17 Dec 2008 12:41 
hello.. What problems do you have? What error messages do you get in BBEdit? I have a Mac too, so I can help you in resolving the prob.. Also what version of BBEdit are you using?

Author boteha
Registered
#3 | Posted: 17 Dec 2008 14:17 
Hello,

Thank you for your answer.

I can use :
OS9 Mac
OSX Mac
XP on PC

For the web, I usually work with OS9 Mac.

When you open a miniBB script with BBEdit (7./0, very old), you have to choose the right format when you save.

Depending the format, the results are :
your page is a suite of "????"
you loose the french accents : , etc...
it is Ok, but an html bug checker will tell you that <head> is missing (and of course <head> exists).

At my first install of miniBB, I used Dremweaver as code editer, and it generates fatal errors in PHP scripts that I didn't touch !!!

I think it is just a problem of format when you save.

If you know yhe good format, and the good soft on Mac, thank you by advance.

Regards

Author Paul
Lead Developer
#4 | Posted: 18 Dec 2008 01:57 | Edited by: Paul 
All our files are saved in Windows format, newlines are CR (carriage return) + LF (linefeed). Mac uses CR only, Linux uses LF only. It's up to your editor how it handles newlines, but obviously using very old software could cause a lot of problems.

Author boteha
Registered
#5 | Posted: 18 Dec 2008 04:04 
Hello,

Thank you for yout answer.

I'll try with the lastest version of BBEdit under OSX.

Author Sergei
Team member
#6 | Posted: 19 Dec 2008 00:53 
Yes, because the new version can be tuned and you can switch between different carriage return formats in it :) I haven't used 7.0 version myself. Started using it since the version 8.X and above :)

Author boteha
Registered
#7 | Posted: 6 Jan 2009 05:44 
Hello,

I loaded the latest version of BBEdit, but the bug stays alive.

In fact, there is a little error in the french lang file.

In fre.php

$l_meta='<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">';

must be replaced by :

$l_meta='<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />';

End tag of meta is missing, this is the bug.

Thank you again for your help.

The Other miniBB Support Forums / The Other / In which format do I have to save scripts with a Macintosh Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB