Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
テキストをcsvに書き込むときに、テキストの形式を保持したい。
例
ファーストネームジョン
22歳
国アフガニスタン
私の例では、ラベルとその値があります。PHPを使用してcsvに書き込むときに、そのスタイルを保持したいと思います。それを行う方法はありますか?ありがとう!
csvカンマで区切られたプレーンテキスト,です。それに付属するスタイリングはありません。出力をすべて大文字にすることも、テキスト スタイルをサポートする別の形式を使用することもできます。
csv
,
参照 - http://en.wikipedia.org/wiki/Comma-separated_values