Re: Problem with text encoding

2009-01-12 Thread Martin Westin


Isn't it great that a divx video-file is more "cross compatible" than
simple text-files.
:)



On Jan 12, 11:01 am, brian  wrote:
> Probably *anything* that might be interpreted by the PHP engine. So,
> .po files in your locale directory, too, I'm sure.
>
> On Mon, Jan 12, 2009 at 4:52 AM, Marco  wrote:
>
> > Thank you very much brian and Henrique. Problem solved. All view have
> > to be saved with ANSI or UTF-8 without BOM, as you suggested. Even
> > models and controllers files.
>
> > On Jan 11, 2:54 am, Henrique Machado  wrote:
> >> I'm using notepad++ too
>
> >> Always save your file in UTF-8 Without BOM
>
> >> in the status bar need to appear: Ansi as UTF-8
>
> >> good luck
>
> >> 2009/1/10 brian 
>
> >> > It seems that you're running into the infamous UTF-8 byte-order mark
> >> > issue. I do all my work on Linux and am unfamiliar with Notepad++ so I
> >> > can't say for sure, nor give you the solution directly. I know that
> >> > certain versions of Homesite (well, the version one of my clients
> >> > used) causes this.
>
> >> > Search online for "UTF-8 BOM PHP" and, maybe, "notepad++" for the 
> >> > lowdown.
>
> >> > On Sat, Jan 10, 2009 at 10:28 AM, Marco  wrote:
>
> >> > > Hello,
>
> >> > > I have a strange and serious problem with two project in CakePHP 1.2.
> >> > > I don't know why some pages render with hidden characters in UTF8 but
> >> > > visible in ISO-8859. Usually they are rendered in the beginning of the
> >> > > page, before doctype.
> >> > > I'm using wamp in Windows XP and deploying in Linux, editing files in
> >> > > Notepad++ using UTF8 encoding.
> >> > > The rendering of these characters affects presentation, cache and
> >> > > sessions.
> >> > > I tried to overwrite views encoding them with different format but
> >> > > nothing.
> >> > > Any idea?
>
> >> > > Thanks, Marco
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Problem with text encoding

2009-01-12 Thread brian

Probably *anything* that might be interpreted by the PHP engine. So,
.po files in your locale directory, too, I'm sure.

On Mon, Jan 12, 2009 at 4:52 AM, Marco  wrote:
>
> Thank you very much brian and Henrique. Problem solved. All view have
> to be saved with ANSI or UTF-8 without BOM, as you suggested. Even
> models and controllers files.
>
> On Jan 11, 2:54 am, Henrique Machado  wrote:
>> I'm using notepad++ too
>>
>> Always save your file in UTF-8 Without BOM
>>
>> in the status bar need to appear: Ansi as UTF-8
>>
>> good luck
>>
>> 2009/1/10 brian 
>>
>>
>>
>>
>>
>>
>>
>> > It seems that you're running into the infamous UTF-8 byte-order mark
>> > issue. I do all my work on Linux and am unfamiliar with Notepad++ so I
>> > can't say for sure, nor give you the solution directly. I know that
>> > certain versions of Homesite (well, the version one of my clients
>> > used) causes this.
>>
>> > Search online for "UTF-8 BOM PHP" and, maybe, "notepad++" for the lowdown.
>>
>> > On Sat, Jan 10, 2009 at 10:28 AM, Marco  wrote:
>>
>> > > Hello,
>>
>> > > I have a strange and serious problem with two project in CakePHP 1.2.
>> > > I don't know why some pages render with hidden characters in UTF8 but
>> > > visible in ISO-8859. Usually they are rendered in the beginning of the
>> > > page, before doctype.
>> > > I'm using wamp in Windows XP and deploying in Linux, editing files in
>> > > Notepad++ using UTF8 encoding.
>> > > The rendering of these characters affects presentation, cache and
>> > > sessions.
>> > > I tried to overwrite views encoding them with different format but
>> > > nothing.
>> > > Any idea?
>>
>> > > Thanks, Marco
>>
>>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Problem with text encoding

2009-01-12 Thread Marco

Thank you very much brian and Henrique. Problem solved. All view have
to be saved with ANSI or UTF-8 without BOM, as you suggested. Even
models and controllers files.

On Jan 11, 2:54 am, Henrique Machado  wrote:
> I'm using notepad++ too
>
> Always save your file in UTF-8 Without BOM
>
> in the status bar need to appear: Ansi as UTF-8
>
> good luck
>
> 2009/1/10 brian 
>
>
>
>
>
>
>
> > It seems that you're running into the infamous UTF-8 byte-order mark
> > issue. I do all my work on Linux and am unfamiliar with Notepad++ so I
> > can't say for sure, nor give you the solution directly. I know that
> > certain versions of Homesite (well, the version one of my clients
> > used) causes this.
>
> > Search online for "UTF-8 BOM PHP" and, maybe, "notepad++" for the lowdown.
>
> > On Sat, Jan 10, 2009 at 10:28 AM, Marco  wrote:
>
> > > Hello,
>
> > > I have a strange and serious problem with two project in CakePHP 1.2.
> > > I don't know why some pages render with hidden characters in UTF8 but
> > > visible in ISO-8859. Usually they are rendered in the beginning of the
> > > page, before doctype.
> > > I'm using wamp in Windows XP and deploying in Linux, editing files in
> > > Notepad++ using UTF8 encoding.
> > > The rendering of these characters affects presentation, cache and
> > > sessions.
> > > I tried to overwrite views encoding them with different format but
> > > nothing.
> > > Any idea?
>
> > > Thanks, Marco
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Problem with text encoding

2009-01-10 Thread Henrique Machado
I'm using notepad++ too

Always save your file in UTF-8 Without BOM



in the status bar need to appear: Ansi as UTF-8

good luck

2009/1/10 brian 

>
> It seems that you're running into the infamous UTF-8 byte-order mark
> issue. I do all my work on Linux and am unfamiliar with Notepad++ so I
> can't say for sure, nor give you the solution directly. I know that
> certain versions of Homesite (well, the version one of my clients
> used) causes this.
>
> Search online for "UTF-8 BOM PHP" and, maybe, "notepad++" for the lowdown.
>
> On Sat, Jan 10, 2009 at 10:28 AM, Marco  wrote:
> >
> > Hello,
> >
> > I have a strange and serious problem with two project in CakePHP 1.2.
> > I don't know why some pages render with hidden characters in UTF8 but
> > visible in ISO-8859. Usually they are rendered in the beginning of the
> > page, before doctype.
> > I'm using wamp in Windows XP and deploying in Linux, editing files in
> > Notepad++ using UTF8 encoding.
> > The rendering of these characters affects presentation, cache and
> > sessions.
> > I tried to overwrite views encoding them with different format but
> > nothing.
> > Any idea?
> >
> > Thanks, Marco
> >
> > >
> >
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Problem with text encoding

2009-01-10 Thread brian

It seems that you're running into the infamous UTF-8 byte-order mark
issue. I do all my work on Linux and am unfamiliar with Notepad++ so I
can't say for sure, nor give you the solution directly. I know that
certain versions of Homesite (well, the version one of my clients
used) causes this.

Search online for "UTF-8 BOM PHP" and, maybe, "notepad++" for the lowdown.

On Sat, Jan 10, 2009 at 10:28 AM, Marco  wrote:
>
> Hello,
>
> I have a strange and serious problem with two project in CakePHP 1.2.
> I don't know why some pages render with hidden characters in UTF8 but
> visible in ISO-8859. Usually they are rendered in the beginning of the
> page, before doctype.
> I'm using wamp in Windows XP and deploying in Linux, editing files in
> Notepad++ using UTF8 encoding.
> The rendering of these characters affects presentation, cache and
> sessions.
> I tried to overwrite views encoding them with different format but
> nothing.
> Any idea?
>
> Thanks, Marco
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Problem with text encoding

2009-01-10 Thread Marco

Hello,

I have a strange and serious problem with two project in CakePHP 1.2.
I don't know why some pages render with hidden characters in UTF8 but
visible in ISO-8859. Usually they are rendered in the beginning of the
page, before doctype.
I'm using wamp in Windows XP and deploying in Linux, editing files in
Notepad++ using UTF8 encoding.
The rendering of these characters affects presentation, cache and
sessions.
I tried to overwrite views encoding them with different format but
nothing.
Any idea?

Thanks, Marco

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---