Boke,

There is no reason at all that the validator would choke on Turkish
characters, if the text is properly encoded in utf-8.

I ran a test, and think I know what the problem is. If you run the validator
on your current page [1], but tell it that the encoding is utf-8 (which it
is not - it's iso-8859-9), you get exactly the same error message.

This suggests to me that you didn't actually save your file as UTF-8, you
just changed the encoding declaration in the meta tag. You should try saving
the file as utf-8 (see how to do this for various editors [2]), and change
the encoding declaration.  Then it should work.

RI   



[1]
http://validator.w3.org/check?uri=http%3A%2F%2Fira.com.tr%2Fy%2F&charset=utf
-8&doctype=Inline&verbose=1

[2]
http://www.w3.org/International/questions/qa-setting-encoding-in-application
s


============
Richard Ishida
W3C

contact info:
http://www.w3.org/People/Ishida/ 

W3C Internationalization:
http://www.w3.org/International/ 

Publication blog:
http://people.w3.org/rishida/blog/
 
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Boke Yuzgen
> Sent: 22 November 2004 21:35
> To: [EMAIL PROTECTED]
> Subject: RE: [WSG] yuzgen.com review please
> 
> Lang attributes:
> Fixed.
> 
> UTF-8 instead of ISO:
> Here's the validator's message:
> "Sorry, I am unable to validate this document because on 
> lines 7-9, 11, 79, 84, 86-87, 89-92, 101, 104-107, 114 it 
> contained one or more bytes that I cannot interpret as utf-8 
> (in other words,
> 
> the bytes found are not valid values in the specified 
> Character Encoding). Please check both the content of the 
> file and the character encoding indication."
> 
> It doesn't like the Turkish characters. I simply won't write 
> any UTF-8 codes while writing an article to my web site. If 
> it doesn't validate my web page some day some how because of 
> Turkish characters, I won't mind if my pages render correct. 
> If my pages don't render correct with the Turkish characters 
> in the code, I will use Flash. ;)
> 
> Because English speaking people can simply write for the web 
> by hitting one character they know.
> Why shoulf non-English speaking people like me bother 
> character entities etc? Also, I know I can use find&replace 
> on multi files at the same time, but I won't do that. Then I 
> will have to backup two copies of each page (eg. if I want to 
> use my text elsewhere, what will I do then? Reconvert to the 
> original?).
> 
> - Why?
> - Because W3C said so.
> 
> Thank you for your comment.
> 
> --- Boke Yuzgen <[EMAIL PROTECTED]> wrote:
> 
> > I will fix lang when I go home. I'm at work now.
> > I use W3C's validator. I will also post the error it reports when I 
> > use UTF-8 when I go home.
> > 
> > Thank you,
> > 
> > 
> > --- Richard Ishida <[EMAIL PROTECTED]> wrote:
> > 
> > > Interesting.  Which validator are you using?
> > > 
> > > By rights, it shouldn't validate as is, since XML requires an XML 
> > > declaration (ie. <?xml version="1.0"
> > > encoding="iso-8859-9"?>) when not using utf-8.
> > > 
> > > Did you note the comment about lang
> > attributes?
> > > 
> > > RI
> > > 
> > > 
> > > ============
> > > Richard Ishida
> > > W3C
> > > 
> > > contact info:
> > > http://www.w3.org/People/Ishida/
> > > 
> > > W3C Internationalization:
> > > http://www.w3.org/International/
> > > 
> > > Publication blog:
> > > http://people.w3.org/rishida/blog/
> > >  
> > >  
> > > 
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED] On
> > Behalf
> > > Of Boke Yuzgen
> > > > Sent: 22 November 2004 12:49
> > > > To: [EMAIL PROTECTED]
> > > > Subject: RE: [WSG] yuzgen.com review please
> > > > 
> > > > Idid it first, but my pages won't validate
> > if
> > > I use UTF-8.
> > > > 
> > > > --- Richard Ishida <[EMAIL PROTECTED]> wrote:
> > > > 
> > > > > Please change
> > > > > 
> > > > > <html
> > xmlns="http://www.w3.org/1999/xhtml";
> > > > > xml:lang="en" lang="en">
> > > > > 
> > > > > to
> > > > > 
> > > > > <html
> > xmlns="http://www.w3.org/1999/xhtml";
> > > > > xml:lang="tr" lang="tr">
> > > > > 
> > > > > 
> > > > > Have you considered using UTF-8, rather
> > > than
> > > > > charset=iso-8859-9 ?
> > > > > 
> > > > > Hope that helps,
> > > > > RI
> > > > > 
> > > > > 
> > > > > ============
> > > > > Richard Ishida
> > > > > W3C
> > > > > 
> > > > > contact info:
> > > > > http://www.w3.org/People/Ishida/
> > > > > 
> > > > > W3C Internationalization:
> > > > > http://www.w3.org/International/
> > > > > 
> > > > > Publication blog:
> > > > > http://people.w3.org/rishida/blog/
> > > > >  
> > > > >  
> > > > > 
> > > > > > -----Original Message-----
> > > > > > From: [EMAIL PROTECTED] 
> > > > > > [mailto:[EMAIL PROTECTED] On
> > > Behalf
> > > > > Of Boke Yuzgen
> > > > > > Sent: 22 November 2004 09:12
> > > > > > To: [EMAIL PROTECTED]
> > > > > > Subject: [WSG] yuzgen.com review please
> > > > > > 
> > > > > > Hi,
> > > > > >  
> > > > > > Can you please review this site? Site
> > > > > language is not English.
> > > > > >  
> > > > > > http://yuzgen.com/
> > > > > >  
> > > > > > Thanks in advance,
> > > > > >  
> > > > > > --
> > > > > > Boke Yuzgen
> > > 
> > > 
> > >
> >
> ******************************************************
> > > The discussion list for
> > > http://webstandardsgroup.org/
> > > 
> > >  See
> > >
> >
> http://webstandardsgroup.org/mail/guidelines.cfm
> > >  for some hints on posting to the list & getting help
> > >
> >
> ******************************************************
> > > 
> > > 
> > 
> > 
> > 
> >             
> > __________________________________
> > Do you Yahoo!? 
> > The all-new My Yahoo! - Get yours free! 
> > http://my.yahoo.com
> >  
> > 
> >
> ******************************************************
> > The discussion list for
> > http://webstandardsgroup.org/
> > 
> >  See
> >
> http://webstandardsgroup.org/mail/guidelines.cfm
> >  for some hints on posting to the list & getting help
> >
> ******************************************************
> > 
> > 
> 
> 
> 
>               
> __________________________________
> Do you Yahoo!? 
> Meet the all-new My Yahoo! - Try it today! 
> http://my.yahoo.com 
>  
> 
> ******************************************************
> The discussion list for  http://webstandardsgroup.org/
> 
>  See http://webstandardsgroup.org/mail/guidelines.cfm
>  for some hints on posting to the list & getting help
> ******************************************************
> 

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to