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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:39:26+00:00 2026-05-26T08:39:26+00:00

I have a lowercase thorn separated file that I need to load into a

  • 0

I have a lowercase thorn separated file that I need to load into a MySQL database (5.1.54) using the LOAD DATA INFILE ... query.

The file I’m trying to load is located on the same server as the MySQL database, and I’m issuing the query from a Windows machine using SQLYog, which uses the MySQL C client library.

I’m having some major issues, I’ve tried using the FIELDS TERMINATED BY 0x00FE syntax using all the variations of the thorn character I can think of, and I’ve tried changing the character set of the connection (SET NAMES ...), but I consistently get the warning…

Warning Code : 1638
Non-ASCII separator arguments are not fully supported

…and all the data loads into the first column.

Is there any way around this at all? Or am I resigned to pre-processing the file with sed to replace all the thorn‘s with a more sensible character before loading?

  • 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-26T08:39:26+00:00Added an answer on May 26, 2026 at 8:39 am

    I decided to fix the file by replacing the non-ASCII character with a character that MySQL’s LOAD DATA INFILE ... would understand.

    1. Use od to get the octal byte value of the offending character – od -b file.log – in this case it’s 376.

    2. Use grep to make sure the character you want to replace it with doesn’t already exist in the file – grep -n '|' file.log.

    3. Use sed and printf to replace the non-ASCII character – sed -i 's/'$(printf '\376')'/|/g' file.log.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

right, basically we have a link into our system that is all lowercase but
I have a MySQL database of keywords that are presently mixed-case. However, I want
I have a regex that right now only allows lowercase letters, I need one
I have installed mysql v5.5.17 in linux using yum, now i want default lowercase
I have a mysql database with about 8 tables that all begin with a
I have a TextInput field that should be restricted to either capital letters, lowercase
I have an unbound Gridview that is populated by a Linq to Entities query
So I have a program that makes char* stuff lowercase. It does it by
I have noticed that most Javascript methods (framework and custom) start with lowercase letters.
I have the following xsl template that I'm using to group my xsl. The

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.