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 6676879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:02:50+00:00 2026-05-26T04:02:50+00:00

I am Working with Html that has Arabic lettering in it. I am trying

  • 0

I am Working with Html that has Arabic lettering in it. I am trying to parse the lettering into a csv file that opens as default in Excel.

I am using a Perl script to parse the lettering out however I thought by using

use feature 'unicode_strings';

in the Perl this would allow the csv to store Arabic lettering however it does not.

Is there a way round this?

  • 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-26T04:02:50+00:00Added an answer on May 26, 2026 at 4:02 am
    use autodie qw(:all);
    use Web::Query qw(wq);
    use Text::CSV_XS qw();
    
    my $csv = Text::CSV_XS->new({binary => 1})
        or die "Cannot use CSV: ".Text::CSV_XS->error_diag;
    open my $fh, '>:encoding(UTF-8)', 'm.csv';
    $csv->print($fh, [wq(
        '<!DOCTYPE html>
        <html><head><title></title></head><body>&#x645;&#x643;&#x629; &#x623;&#x648;
        &#x645;&#x643;&#x629; &#x627;&#x644;&#x645;&#x643;&#x631;&#x645;&#x629;
        &#x647;&#x64a; &#x645;&#x62f;&#x64a;&#x646;&#x629;
        &#x645;&#x642;&#x62f;&#x633;&#x629; &#x644;&#x62f;&#x649;
        &#x627;&#x644;&#x645;&#x633;&#x644;&#x645;&#x64a;&#x646;&#x60c;
        &#x628;&#x647;&#x627; &#x627;&#x644;&#x645;&#x633;&#x62c;&#x62f;
        &#x627;&#x644;&#x62d;&#x631;&#x627;&#x645;&#x60c;
        &#x648;&#x627;&#x644;&#x643;&#x639;&#x628;&#x629; &#x627;&#x644;&#x62a;&#x64a;
        &#x62a;&#x639;&#x62f; &#x642;&#x628;&#x644;&#x629;
        &#x627;&#x644;&#x645;&#x633;&#x644;&#x645;&#x64a;&#x646; &#x641;&#x64a;
        &#x635;&#x644;&#x627;&#x62a;&#x647;&#x645;.</body></html>'
    )->find('body')->text]);
    close $fh;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let say you are working on a website template that has many pages (index.html,
I have an HTML file that has a set of divs with the class
Im working on a HTML test page with a simple grid that has red
let's say I'm working on a site that has 8 to 10 different html/php
I have a page that I'm working on that has the following HTML markup:
I am working on a CSS/HTML submit form that I am going to make
I'm working on an HTML class in PHP, so that we can keep all
I am working on a codebase that uses php within .html files. How do
We are working with a CMS that generates the following HTML: <h3 class=heading>Heading 1</h3>
I'm working on a project that involves converting a large amount of HTML content

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.