Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-10-19 05:23 AM
typo in title: data (not date)
I want to save text data to new html file (utf-8) and put it in my PC desktop.
My PC system locale is set to ja-jp, so file is saved in shift-JIS by default.
Please tell me how to do.
Thanks.
------------------------------
Mitsuko
Asia/Tokyo
------------------------------
I want to save text data to new html file (utf-8) and put it in my PC desktop.
My PC system locale is set to ja-jp, so file is saved in shift-JIS by default.
Please tell me how to do.
Thanks.
------------------------------
Mitsuko
Asia/Tokyo
------------------------------
------------------------------
Mitsuko
Asia/Tokyo
------------------------------
Mitsuko
Asia/Tokyo
------------------------------
Answered! Go to Answer.
1 BEST ANSWER
Helpful Answers
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
29-10-19 04:40 AM
I copied and rewrite VBO "write text file" so that it can output text in UTF-8.
namespace System.IO and System.Text are required.
------------------------------
Mitsuko
Asia/Tokyo
------------------------------
namespace System.IO and System.Text are required.
Dim utfEnc = System.Text.Encoding.GetEncoding(65001) Try File.WriteAllText(File_Name, inText, utfEnc) Success = True Message = "" Catch e As Exception Success = False Message = e.Message End Try
------------------------------
Mitsuko
Asia/Tokyo
------------------------------
------------------------------
Mitsuko
Asia/Tokyo
------------------------------
Mitsuko
Asia/Tokyo
------------------------------
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
29-10-19 04:40 AM
I copied and rewrite VBO "write text file" so that it can output text in UTF-8.
namespace System.IO and System.Text are required.
------------------------------
Mitsuko
Asia/Tokyo
------------------------------
namespace System.IO and System.Text are required.
Dim utfEnc = System.Text.Encoding.GetEncoding(65001) Try File.WriteAllText(File_Name, inText, utfEnc) Success = True Message = "" Catch e As Exception Success = False Message = e.Message End Try
------------------------------
Mitsuko
Asia/Tokyo
------------------------------
------------------------------
Mitsuko
Asia/Tokyo
------------------------------
Mitsuko
Asia/Tokyo
------------------------------
