Hi
I edited some PHP en HTM file of my theme (BlankTheme) and the module Formicula with notepad and later on with Microsoft expression web
Now every file renderd in Zikula/php shows  at the top ( strange markings)
When i open the file in NotePad I don't see the markings
I looked on the net, nobody has a answer. I edited the same files before with no problems.
See http://micware.nl/zi…hp?module=formicula
Only thing I find on the net is, it could have something to do with UTF-8.
Anybody know how to fix this?
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Strange text appears after editing files    
-
- Rank: Softmore
- Registered: Apr 17, 2004
- Last visit: May 16, 2010
- Posts: 163
-
- Rank: Helper
- Registered: Sep 16, 2004
- Last visit: Oct 21, 2009
- Posts: 731
When I select UTF-8 encoding on Firefox, the symbols disappear
I'd assume the file is saved in UTF-8 format, but your meta states: charset=ISO-8859-1
Just re-edit the file, and save as ISO or ASCII. Download and use Notepad2 or Notepad+ , you can choose which encoding to save the files under.
Notepad itself doesn't show UTF characters that aren't in the ASCII/ISO character sets, sometimes I use it to clean non-printing characters quickly just for this reason - ie, copy, paste into notepad, copy back into whatever, all characters are now printable.
-
- Rank: Developer
- Registered: Aug 05, 2003
- Last visit: May 06, 2010
- Posts: 187
Important! That's a special flag for UTF-8. Not every editor shows them - but they make a lot of problems in Zikula. I found them in the Formicula language fils. So please check all the lang files.
Open in Windows notepad and delete the first characters (why am i recommending windows tools ... ;) ) and save them.
--
| scribite! | TNGz | piwik | zweet | -
- Rank: Softmore
- Registered: Apr 17, 2004
- Last visit: May 16, 2010
- Posts: 163
Hi,
Thx for all the response, I tried some of the suggestions , but no luck jet.
http://micware.nl/zikula/index.php?module=Formicula
I?m unable to remove the UTF-8 code ,
I used notepad and notepad2, used safe as? to safe the file under a different name and replaced the original file on my webshare (NTFS W2K3), still de code, there is no editor that makes this coded visible,
If I select UTF-8 in IE7 or FF3, the code is gone!
Maybe I edit the wrong file, I uses Firebug, but it?s not clear what file(s) is the problem
Has anybody some more tips or advice
Thx in advance
-
- Rank: Team Member
- Registered: Dec 07, 2003
- Last visit: May 09, 2010
- Posts: 2703
Clear out all your compiled and cached templates.
--
David Pahl
Zikula Support Team -
- Rank: Registered User
- Registered: Jun 10, 2008
- Last visit: Nov 09, 2008
- Posts: 2
Hmmm... I had the same problem before at work. As I recall we were using MS Web Expressions. This isn't always the case, FrontPage and Notepad have had the same affect.
It's been a while but I believe what I had to do at the time was delete the first character at the beginning of the file and then type it back in. I remember someone recommending that I load the file into a UNIX/Linux system and then save it from there... kind of hard to do in a Windows only environment (unless you have a VM handy).
Nice site though :)
-
- Rank: Helper
- Registered: Sep 16, 2004
- Last visit: Oct 21, 2009
- Posts: 731
Using notepad2, open the file.
Go to File->Encoding
See what its set to now,
Then select ANSI if not selected.
You can also select View - > Show Whitespace and other selections to better see the underlying non-visible characters if there are any. -
- Rank: Softmore
- Registered: Apr 17, 2004
- Last visit: May 16, 2010
- Posts: 163
YES,
Used Notepad2, Scanned throe all the files manual.
Found the problem files and was able the fix the problem
Thx again
- Moderated by:
- Support
