Hey...So I have a document which I need to use to space things out.. it pretty much looks like this:
1.1 SECTION INCLUDES
1. Door release panel.//all the spacing infront of the numbers is
2. Transformers.
3. Magnets.
4. Switches.
5. Pushbuttons.
6. Power supplies.
7. Electrical supervision circuits.
8. Wiring.
9. Card readers.
10. Keypads.
11. Accessory software.
12. System accessories:
1. Readers.
2. Cards.
3. Sensing devices.
4. Power supplies.
when It gets saved into sql, it converts the 's into 'Â'...so it looks like this:
1.1 SECTION INCLUDES
   1. Door release panel.
   2. Transformers.
   3. Magnets.
   4. Switches.
   5. Pushbuttons.
   6. Power supplies.
   7. Electrical supervision circuits.
   8. Wiring.
   9. Card readers.
   10. Keypads.
   11. Accessory software.
   12. System accessories:
      1. Readers.
      2. Cards.
      3. Sensing devices.
      4. Power supplies.
and finally, when displayed in javascript/using php:
1.1 SECTION INCLUDES
� � � 1. Door release panel.
� � � 2. Transformers.
� � � 3. Magnets.
� � � 4. Switches.
� � � 5. Pushbuttons.
� � � 6. Power supplies.
� � � 7. Electrical supervision circuits.
� � � 8. Wiring.
� � � 9. Card readers.
� � � 10. Keypads.
� � � 11. Accessory software.
� � � 12. System accessories:
� � � � � � 1. Readers.
� � � � � � 2. Cards.
� � � � � � 3. Sensing devices.
� � � � � � 4. Power supplies.
as you can tell...extremely ugly
So my question is:
how can i make it look normal? I tried:
echo str_replace("Â"," ",mysql_result($result,0,"Data"));
but that didnt work...it doesnt recognize the symbol 'Â', and when I try to replace the 'Â' with a '�' in the str_replace, it is just a square in php (invalid character...) ugh..
Is there a way like when using md5 to 'de-encode' the Â's or something??
if this doesnt make sense, let me know...
thanks!!