How to encode a hyperlink in CSV formatted file?

前端 未结 4 612
耶瑟儿~
耶瑟儿~ 2020-12-14 14:59

When I try to encode a HTML anchor link in CSV file cell it becomes corrupted and not readable by Excel.

Is there some sort of non-HTML solution or format to encode

4条回答
  •  忘掉有多难
    2020-12-14 15:45

    A CSV file is simply text - it's up to the loading program how it chooses to interpret the text.

    If Excel is complaining when you feed it "Link", "another cell" then try just having the raw URL and you might find Excel will automagically turn it into a link.

    But in general Excel doesn't process HTML, so expecting it render HTML from a CSV file is asking too much.

提交回复
热议问题