Log message #115308

# At Username Text
# Aug 10th 2008, 11:43 TheBig there you can even find the docType and useful <HEAD> elements
# Aug 10th 2008, 11:42 TheBig no problem
# Aug 10th 2008, 11:42 M4ngoB00M tx
# Aug 10th 2008, 11:41 TheBig M4ngoB00M, head of http://book.cakephp.org/view/206/inserting-well-formatted-eleme
# Aug 10th 2008, 11:40 M4ngoB00M here comes the but
# Aug 10th 2008, 11:40 TheBig take a look at the helper first
# Aug 10th 2008, 11:40 TheBig but
# Aug 10th 2008, 11:40 TheBig which lie in /cake/libs/view/helpers/html.php
# Aug 10th 2008, 11:40 TheBig in html helper
# Aug 10th 2008, 11:40 M4ngoB00M AHA - getting closer - k the default view says: <?php echo $html->charset(); ?> now where the hell is $html->charset() defined?
# Aug 10th 2008, 11:39 TheBig is that what you mean?
# Aug 10th 2008, 11:39 TheBig where you have <?php echo $html->charset(); ?>
# Aug 10th 2008, 11:38 TheBig default is /cake/libs/view/layouts/default.ctp
# Aug 10th 2008, 11:38 TheBig it's usually written into the layout parts
# Aug 10th 2008, 11:38 M4ngoB00M yes
# Aug 10th 2008, 11:38 TheBig in the head section?
# Aug 10th 2008, 11:38 TheBig M4ngoB00M, you mean the default charset string?
# Aug 10th 2008, 11:37 M4ngoB00M k
# Aug 10th 2008, 11:37 cpierce i've never scaffoid
# Aug 10th 2008, 11:36 M4ngoB00M k - will poke around
# Aug 10th 2008, 11:36 M4ngoB00M in the scaffolded view layouts is empty... I am talking about the default scaffolded view
# Aug 10th 2008, 11:36 cpierce see my above question...
# Aug 10th 2008, 11:36 cpierce but i'm new to 1.2
# Aug 10th 2008, 11:36 cpierce thats where i always put mine
# Aug 10th 2008, 11:36 cpierce where i would specify it in my cake would be in /views/layouts/
# Aug 10th 2008, 11:35 cpierce AddDefaultCharset UTF-8
# Aug 10th 2008, 11:35 M4ngoB00M hrm - k - i will try that... but also - just for my info - any idea where the meta tag gets inserted in the html stream?
# Aug 10th 2008, 11:35 cpierce i'm saying that if you specify it in apache it won't matter what the meta tag says
# Aug 10th 2008, 11:34 M4ngoB00M yeah i do - its my localhost
# Aug 10th 2008, 11:34 M4ngoB00M really - you mean apache is inserting the meta tag into my rendered html ? ummm... I dunno
# Aug 10th 2008, 11:34 cpierce do you have access to that?
# Aug 10th 2008, 11:34 cpierce its specified in the httpd
# Aug 10th 2008, 11:34 cpierce usually
# Aug 10th 2008, 11:34 M4ngoB00M *ctp
# Aug 10th 2008, 11:34 M4ngoB00M its not in the tpl file, seems to be in a dynamically genered style or something?
# Aug 10th 2008, 11:33 M4ngoB00M ok - yeah that was where I was going... however - my problem now is i cant find in my cake source where the charset is even defined for the scaffolded view...
# Aug 10th 2008, 11:33 cpierce i'd switch to utf-8
# Aug 10th 2008, 11:32 cpierce or specify your page content type as iso8559-1
# Aug 10th 2008, 11:32 M4ngoB00M cpierce: OK - fair enough... so what you are saying is I should switch everything to UTF-8?
# Aug 10th 2008, 11:30 cpierce not your browser but your ... web server (apache)
# Aug 10th 2008, 11:29 cpierce and your symbols are a bit different in those two charsets