Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 721371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:51:57+00:00 2026-05-14T05:51:57+00:00

How do I convert (as an example): Señor Coconut Y Su Conjunto – Introducciõn

  • 0

How do I convert (as an example):

Señor Coconut Y Su Conjunto – Introducciõn

to:

Señor Coconut Y Su Conjunto – Introducciõn

I’ve got an app that creates m3u playlists, but when the track filename, artist or title contains non ASCII characters it doesn’t get read properly by the music player so the track doesn’t get played.

I’ve discovered that if I write the track out as:

#EXTINFUTF8:76,Señor Coconut Y Su Conjunto - Introducciõn
#EXTINF:76,Señor Coconut Y Su Conjunto - Introducciõn
#UTF8:01-Introducciõn.mp3
01-Introducciõn.mp3

Then the music player will read it correctly and play the track.

My problem is that I can’t find the information I need to be able to do the conversion properly.

I’ve tried the following:

    byte[] byteArray = Encoding.UTF8.GetBytes(output);
    foreach (Byte b in byteArray)
    {
        playList.Write(b);
    }

where playList = new StreamWriter(filename, false); but I just get a series of numbers output:

#EXTINFUTF8:76,83101195177111114326711199111110117116328932831173267111110106117110116111 - 731101161141111001179999105195181110

which I guess are the numerical values of the characters rather than the characters themselves.

It’s been a while since I’ve done this low level character manipulation and I’m a little rusty.

UPDATE

I’ve now got:

    byte[] byteArray = Encoding.UTF8.GetBytes(output);
    foreach (Byte b in byteArray)
    {
        playList.Write(Convert.ToChar(b));
    }

to do the output and at first glance it appeared to be working. The file as seen in Notepad++ is showing the correct information. However, the first track still isn’t being played.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T05:51:57+00:00Added an answer on May 14, 2026 at 5:51 am

    You want the whole stream to be in UTF-8. Try:

    StreamWriter playList = new StreamWriter(filename, false, System.Text.Encoding.UTF8);
    

    Now, to write to the stream, just pass your String named output like this:

    playList.Write(output);
    

    The stream will now all be in the proper encoding, so you should also just be able to do something like:

    playList.WriteLine("#EXTINFUTF8:76,Señor Coconut Y Su Conjunto - Introducciõn");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anybody give an example of c++ code that can easily convert a decimal
I am trying to convert a Map example from objective-c to MonoTouch but the
Is there any quick function that will convert: HtTp://www.ExAmPle.com/blah to http://www.example.com/blah Basically I want
I tried to use os.normpath in order to convert http://example.com/a/b/c/../ to http://example.com/a/b/ but it
I convert all links from example.com/action to example.com/index.html#action which is then parsed by my
How do I convert strings like this is an example to this-is-an-example under ruby?
How do I convert scientific notation to regular int For example: 1.23E2 I would
im trying to convert a date format into a new format in this example
I need to convert a column data into single row with multiple columns Example
Why is there a need to convert a value (for example short) to string,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.