BejelentkezésOldalsáv elrejtése
Felhasználói név: 
Jelszó: 
IP korlátozás 

The file is different  Go to the Training: WWW-Basics challenge

Globális ranglista: 15608
Összpontszám: 71
Üzenetek: 5
Köszönetek: 1
Jó szavazatok: 2
Regisztrált: 11é 95n
Utoljára it járt: 4é 48n
A felhasználó offline
The file is different
Google/fordító1Köszönjük!1Értékes üzenet!0Gagyi üzenet! kapcsolás
I created the file luke92.html and wrote:
"My name is Luke92 and iChall." that is, in my language is "Il mio nome è Luke92 e iChall."

Everything works but tells me the phrase is different and has one byte less .. What is the problem?
Globális ranglista: 252
Összpontszám: 87258
Üzenetek: 1644
Köszönetek: 1343
Jó szavazatok: 894
Regisztrált: 16é 122n




Utoljára it járt: 1n 19ó
A felhasználó offline
RE: The file is different
Google/fordító2Köszönjük!0Értékes üzenet!0Gagyi üzenet! kapcsolás
The problem should be the newline.
The challenge requires you to put no newline after the phrase.

Happy Challenging
gizmore
The geeks shall inherit the properties and methods of object earth.
Globális ranglista: 15608
Összpontszám: 71
Üzenetek: 5
Köszönetek: 1
Jó szavazatok: 2
Regisztrált: 11é 95n
Utoljára it járt: 4é 48n
A felhasználó offline
RE: The file is different
Google/fordító0Köszönjük!0Értékes üzenet!0Gagyi üzenet! kapcsolás
Idézet tőle: Gizmore
Március 22, 2013 - 17:00:32

The problem should be the newline.
The challenge requires you to put no newline after the phrase.

Happy Challenging
gizmore

http://oi46.tinypic.com/347e1w2.jpg

I test with and without newline
Utoljára szerkesztette: Luke92 - Március 22, 2013 - 17:08:51
Globális ranglista: 252
Összpontszám: 87258
Üzenetek: 1644
Köszönetek: 1343
Jó szavazatok: 894
Regisztrált: 16é 122n




Utoljára it járt: 1n 19ó
A felhasználó offline
RE: The file is different
Google/fordító0Köszönjük!0Értékes üzenet!0Gagyi üzenet! kapcsolás
Looks like an encoding problem to me.
Try to output utf8 encoded data.
The geeks shall inherit the properties and methods of object earth.
Globális ranglista: 15608
Összpontszám: 71
Üzenetek: 5
Köszönetek: 1
Jó szavazatok: 2
Regisztrált: 11é 95n
Utoljára it járt: 4é 48n
A felhasználó offline
RE: The file is different
Google/fordító0Köszönjük!1Értékes üzenet!0Gagyi üzenet! kapcsolás
Idézet tőle: Gizmore
Március 22, 2013 - 17:11:23

Looks like an encoding problem to me.
Try to output utf8 encoded data.

My info php server report:

"""Content-Type text/html; charset=utf-8 """
Utoljára szerkesztette: Luke92 - Március 22, 2013 - 17:30:26
Globális ranglista: 252
Összpontszám: 87258
Üzenetek: 1644
Köszönetek: 1343
Jó szavazatok: 894
Regisztrált: 16é 122n




Utoljára it járt: 1n 19ó
A felhasználó offline
RE: The file is different
Google/fordító0Köszönjük!1Értékes üzenet!0Gagyi üzenet! kapcsolás
i assume your server says it's utf8, but you do not send utf8 Smile
false advertising? Drool
The geeks shall inherit the properties and methods of object earth.
Globális ranglista: 15608
Összpontszám: 71
Üzenetek: 5
Köszönetek: 1
Jó szavazatok: 2
Regisztrált: 11é 95n
Utoljára it járt: 4é 48n
A felhasználó offline
RE: The file is different
Google/fordító0Köszönjük!0Értékes üzenet!1Gagyi üzenet! kapcsolás
In local how i test if charset change??
i feel with 3 charset different but have every same result
Globális ranglista: 252
Összpontszám: 87258
Üzenetek: 1644
Köszönetek: 1343
Jó szavazatok: 894
Regisztrált: 16é 122n




Utoljára it járt: 1n 19ó
A felhasználó offline
RE: The file is different
Google/fordító0Köszönjük!0Értékes üzenet!0Gagyi üzenet! kapcsolás
Changing the header does not change your bytes magically.
The header only tells the client how to interpret the bytes.
Make sure you encode the è in utf8.

Hope this helps,
gizmore
The geeks shall inherit the properties and methods of object earth.
Globális ranglista: 15608
Összpontszám: 71
Üzenetek: 5
Köszönetek: 1
Jó szavazatok: 2
Regisztrált: 11é 95n
Utoljára it járt: 4é 48n
A felhasználó offline
RE: The file is different
Google/fordító0Köszönjük!0Értékes üzenet!1Gagyi üzenet! kapcsolás
Idézet tőle: Gizmore
Március 22, 2013 - 18:12:35

Changing the header does not change your bytes magically.
The header only tells the client how to interpret the bytes.
Make sure you encode the è in utf8.

Hope this helps,
gizmore

I feel all but NADA:
http://www.w3.org/International/questions/qa-html-encoding-declarations
Globális ranglista: 252
Összpontszám: 87258
Üzenetek: 1644
Köszönetek: 1343
Jó szavazatok: 894
Regisztrált: 16é 122n




Utoljára it járt: 1n 19ó
A felhasználó offline
RE: The file is different
Google/fordító0Köszönjük!0Értékes üzenet!0Gagyi üzenet! kapcsolás
I am feeling NADA now too ;)

I guess the challenge is working fine and you just give the wrong bytes.
Encoding is an important topic in the IT, and i suggest you read up on Unicode and UTF8.
The geeks shall inherit the properties and methods of object earth.
Redknee, wonhee, sh4nx0r, tunelko, silenttrack, n0tHappy, quangntenemy, TheHiveMind, Z, balicocat, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, SwolloW, dangarbri, kalungmas feliratkozott erre a beszélgetésre és automatikusan e-mailt kap új üzenet esetén.
1 darab ember nézegeti jelenleg ezt a beszélgetést.
Ezt a beszélgetést 9150-szer jelenítettük meg.