Ruby on Rails Tuesday, May 31, 2011

On May 31, 8:48 pm, daze <dmonopol...@gmail.com> wrote:
> On May 31, 9:41 am, Frederick Cheung <frederick.che...@gmail.com>
> wrote:
>
> > > Is it a problem if some articles were already cleaned by doing a
> > > search and replace, e.g. swapping all ’ for its corresponding proper
> > > symbol?
>
> > Depends. if you have replaced with pure ascii then it's not a problem.
> > if not (ie for a given column and table you have a mix of encodings)
> > then you will have made things worse.
>
> Oh... thank you for answering me!  Basically, some people ran search-
> and-replaces for these:
>
> "| replaced with :
> â€" replaced with -
> ’ replaced with  '
> “ replaced with "
> †replaced with "
>
> I apologize for my lack of expertise, but have things been replaced
> "with pure ascii"?  (What exactly is that...?)

Those are pure ascii characters (ie can be represented by a 7 bit
integer. Latin1, UTF8, etc. all represent these characters in the same
way so you shouldn't get a problem
>
> One other thing:
> Does the encoding or interpretation of encoding vary from browser to
> browser?  See, I went to school and checked out the site - only to
> find this odd symbol located after double-quotes... it looked like two
> squares on top of each other...
> Yet, at home, or outside of school, I do not see this symbol anywhere.
> Why might this be?
>
as walter says, that sounds the missing glyph character, ie "you've
asked me to display a character that I can't display"

Fred
> (Thank you again!)

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment