hi group, I have an annoying issue. ? appears in place of ". This is caused due to pasting the info from the Microsoft word. Word uses curly quotes instead of simple quotes. Can you please help me to fix this issue. Since I''m new to Ruby, this looks like a big issue for me :) Thanks! --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
This is not a Ruby or a Rails issue. More than likely the quotes fall at different code points in your database than in the code page you''ve specified for your page. I worried this issue for a couple of years on-and-off with a PHP site before concluding it had more to do with the way MySQL handles multibyte characters than anything else. You might take Postgres out for a spin or ... anyone else have ideas about how iconv or something else could remove the question marks? On Jul 19, 2007, at 1:47 PM, trilok2000 wrote:> > hi group, > > I have an annoying issue. > > ? appears in place of ". > > This is caused due to pasting the info from the Microsoft word. Word > uses curly quotes instead of simple quotes. Can you please help me to > fix this issue. Since I''m new to Ruby, this looks like a big issue for > me :) > > Thanks! > > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> This is not a Ruby or a Rails issue. More than likely the quotes fall > at different code points in your database than in the code page > you''ve specified for your page. I worried this issue for a couple of > years on-and-off with a PHP site before concluding it had more to do > with the way MySQL handles multibyte characters than anything else. > > You might take Postgres out for a spin or ... anyone else have ideas > about how iconv or something else could remove the question marks?Clean the input using tidy... http://tidy.rubyforge.org/ -philip> > On Jul 19, 2007, at 1:47 PM, trilok2000 wrote: > >> >> hi group, >> >> I have an annoying issue. >> >> ? appears in place of ". >> >> This is caused due to pasting the info from the Microsoft word. Word >> uses curly quotes instead of simple quotes. Can you please help me to >> fix this issue. Since I''m new to Ruby, this looks like a big issue for >> me :) >> >> Thanks! >> >> >>> > > > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Apparently Analagous Threads
- Straight-quotes for usage and examples sections in PDF docs?
- [OT] Curly Quotes on a Mac
- DO NOT REPLY [Bug 5811] New: rsync error: error allocating core memory buffers (code 22) at io.c(635)
- Getting messages "failed to stat" only in cron execution
- Multi Byte Strings