Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Pure VPN - Up to 27 Months
vgp
Updated:
Friday at 8:10 AM
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Tuesday at 12:30 PM
Ad icon
ඉන්ටර්නෙට් එකෙන් හරියටම සල්ලි හොයන්න සහ Success වෙන්න කැමතිද? 🚀 (E-Money & Success Stories)
siri sumana
Updated:
May 30, 2026
Gemini AI PRO 18 months Offer
Hawaka
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Problems and Troubleshooting
unicode c#
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="roba &quot;chama&quot;" data-source="post: 19876287" data-attributes="member: 387690"><p>machala mekata poddak udawa karannako mata oni sinhala unicode walin liyapu txt file ekak c# wali read karaganna utf8 walat encodin kalath wada nane ? ? ? pennanne danna ekkenek kiyanna me thiyenne code eka</p><p></p><p></p><p>using System;</p><p>using System.Collections.Generic;</p><p>using System.Text;</p><p>using System.Diagnostics;</p><p></p><p>namespace RandomCharacterGen</p><p>{</p><p> class Program</p><p> {</p><p> static void Main(string[] args)</p><p> {</p><p> Console.OutputEncoding = System.Text.Encoding.UTF8;</p><p> String text = System.IO.File.ReadAllText("C:\\Users\\xxx\\Desktop\\Resarch\\sinhalac.txt");</p><p> System.Console.WriteLine("Contents of sinhalac.txt={0}", text);</p><p> Console.ReadLine();</p><p> } </p><p> }</p><p></p><p>}</p></blockquote><p></p>
[QUOTE="roba "chama", post: 19876287, member: 387690"] machala mekata poddak udawa karannako mata oni sinhala unicode walin liyapu txt file ekak c# wali read karaganna utf8 walat encodin kalath wada nane ? ? ? pennanne danna ekkenek kiyanna me thiyenne code eka using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; namespace RandomCharacterGen { class Program { static void Main(string[] args) { Console.OutputEncoding = System.Text.Encoding.UTF8; String text = System.IO.File.ReadAllText("C:\\Users\\xxx\\Desktop\\Resarch\\sinhalac.txt"); System.Console.WriteLine("Contents of sinhalac.txt={0}", text); Console.ReadLine(); } } } [/QUOTE]
Insert quotes…
Verification
Dawasata paya keeyak thibeda?
Post reply
Top
Bottom