Skip to: categories | main content
Freakshow 2.0
There are many projects with ISO-8859-1 character encoding - problems arise, when you try to integrate external software/libraries into them. By default, every web project should use UTF-8 to encode its files. Prototype's Ajax.Request() for example can't handle anything different to UTF-8 and gets you into big trouble, when you try to send german umlauts with it.
But how to convert a complete ISO (Symfony) project to UTF-8?
It's pretty simple: First, we need to determine which files need to be converted and write them into a text file. In a symfony project, this should be all templates, all javascripts and all configuration stuff. It can simply be done by entering the following commands in a shell (located in the symfony projects' root directory):
You can filter the result by editing the newly created "convert" file.
Then, you are able to convert all files to utf8, this is done by:
The command creates for each file found in "convert" a new file with the same name of the old one, except with an additional .utf8 extension.
In a last step, the .utf8 will be removed to overwrite the existing ISO files:
Don't forget to change the (sf_)charset configuration option in all settings.yml's to utf-8.
Before you submit the changes to the repository, you should also run your testsuite and look over the project manually.
That's it!
Ich hab derzeit leider viel um die Ohren, sodass ich nur sehr wenig Zeit zum Bloggen habe...
Dennoch will Euch dieses Schmankerl nicht vorenthalten:
Der Entwickler Press Verlag bietet einen Online-Adventskalender, indem sich hinter jedem Türchen ein cooles IT-eBook befindet.
Hier gehts direkt zum Adventskalender
Nachtrag:
Da ich nicht weiß, wie die rechtliche Lage aussieht, will ich keine Links posten, aber dennoch die Bücher bereitstellen, die Ihr vielleicht verpasst habt ![]()
http://80.237.217.198/ep/xmas/ebooks/01_Managed%20DirectX_6dgh65.pdf
http://80.237.217.198/ep/xmas/ebooks/02_Java%206%20Einstieg_7ghdhkh.pdf
http://80.237.217.198/ep/xmas/ebooks/03_Visual%20Csharp_7sdgkh.pdf
http://80.237.217.198/ep/xmas/ebooks/04_Google%20Web%20Toolkit_254aklkle7.pdf
http://80.237.217.198/ep/xmas/ebooks/05_Java%206%20PHB_6gdskc.pdf
http://80.237.217.198/ep/xmas/ebooks/06_Dojo%20Toolkit_9fdhsa.pdf
http://80.237.217.198/ep/xmas/ebooks/07_XNA%20Framework_6gdgs3a.pdf
http://80.237.217.198/ep/xmas/ebooks/08_Visual%20Csharp%20PHB_98snbber.pdf
http://80.237.217.198/ep/xmas/ebooks/09_eBay%20API_2bd86d2.pdf
http://80.237.217.198/ep/xmas/ebooks/10_Salesforce_9dhbe3x.pdf
http://80.237.217.198/ep/xmas/ebooks/11_Software%20Life%20Cycle_63gsbd2.pdf
http://80.237.217.198/ep/xmas/ebooks/12_Dateiformate_092ncd0.pdf
http://80.237.217.198/ep/xmas/ebooks/13_Exploring%20JavaScript_63kasd3u.pdf
http://80.237.217.198/ep/xmas/ebooks/14_Axis2_358dfg1.pdf
http://80.237.217.198/ep/xmas/ebooks/15_XSL-FO_8326bdh46s.pdf
http://80.237.217.198/ep/xmas/ebooks/16_C++%20PHB_92dfa.pdf
http://80.237.217.198/ep/xmas/ebooks/17_MS%20Ajax_9264d31.pdf
http://80.237.217.198/ep/xmas/ebooks/18_Sichere%20Webanwendungen_9287hd42.pdf
http://80.237.217.198/ep/xmas/ebooks/19_social_software_365dgh.pdf
http://80.237.217.198/ep/xmas/ebooks/20_XSLT_2df3rfy.pdf
http://80.237.217.198/ep/xmas/ebooks/21_MDSD_9827ddf23l.pdf
http://80.237.217.198/ep/xmas/ebooks/22_Google%20Web%20API_982hd5.pdf
http://80.237.217.198/ep/xmas/ebooks/23_XAML_07scwjeh.pdf
Ich wünsche Euch allen ein frohes und besinnliches Weihnachtsfest ![]()


1: Minimize HTTP Requests
2: Use a Content Delivery Network
3: Add an Expires Header
4: Gzip Components
5: Put Stylesheets at the Top
6: Put Scripts at the Bottom
7: Avoid CSS Expressions
8: Make JavaScript and CSS External
9: Reduce DNS Lookups
10: Minify JavaScript
11: Avoid Redirects
12: Remove Duplicate Scripts
13: Configure ETags
Design by Andreas Viklund | Ported to Serendipity by Carl