miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
The Other miniBB Support Forums / The Other /  
 

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

 
Author boteha
Partaker
#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
Partaker
#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 
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
Partaker
#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
Partaker
#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
 Share Topic's Link

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


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑