I'd like to take a CSV file living server-side and display it dynamically as an html table. E.g., this:
Name, Age, Sex
"Cantor, Georg", 163, M
should become this:
<html><body><table>
<tr> <td>Name</td> <td>Age</td> <td>Sex</td> </tr>
<tr> <td>Cantor, Georg</td> <td>163</td> <td>M</td> </td>
</table></body></html>
Solutions in any language are welcome.
Does it work if you escape the quoted commas with \ ?
Most delimited formats require that their delimiter be escaped in order to properly parse.
A rough Java example: