List:General Discussion« Previous MessageNext Message »
From:Boyd E. Hemphill Date:July 2 2004 8:52pm
Subject:Display of "?" and Hex conversion
View as plain text  
All:

We discovered a rather odd situation where some space characters where
being displayed as "?".  

In tracking this down, it was determined that the server had stored the
hex value "A0" rather than "20"  by using this query:


select LocationId, LevelId, Hex(NameLn),NameLn 
  from Location 
 where LevelId = 3
 order by NameLn;

So, I issued this statement to fix it (using 4.0.16)

update Location
   set NameLn = replace(hex(NameLn), 'A0' , '20')
 where hex(NameLn) like '%A0%'

Now for the NameLn field I have the hex string  (arrrrrrg my data has
been hexed!!! :-)

So, my questions are:
1.  How do I go back from the hex string to characters?
2.  Has anyone else seen this problem?   At this point I can say the
diplay issue only appears on some browsers.

Thanks
Boyd



Thread
Foreign Key on text fieldSudip Shekhawat9 Jun
  • EJB - Entity BeansBoyd E. Hemphill10 Jun
    • RE: EJB - Entity BeansJon Frisby10 Jun
      • Display of "?" and Hex conversionBoyd E. Hemphill2 Jul
        • Re: Display of "?" and Hex conversionJim Winstead2 Jul
          • Tuning InnoDB situationBoyd E. Hemphill13 Aug
            • Re: Tuning InnoDB situationWare Adams13 Aug
RE: Tuning InnoDB situationVictor Pendleton13 Aug