Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: How to create a New Line Feed character in a SHIFT_JIS file.

  1. #1
    Junior Member
    Join Date
    Aug 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to create a New Line Feed character in a SHIFT_JIS file.

    NewLine.PNG

    I need help creating the end of line character on line 2 of the attached image.

    When I try with \n and \r, I get the end of line symbol on line 1. I tried converting ASCII 10 to a character and putting that in the file, but I still get the end of line symbol on line one.

    Any ideas?

    *I'm using Sakura as the text editor.


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: How to create a New Line Feed character in a SHIFT_JIS file.

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

    Is this a Java question? I recognize very little about your post.

Similar Threads

  1. Replies: 8
    Last Post: July 12th, 2014, 03:38 PM
  2. Why does JLabel not detect a line feed with \n?
    By Cornix in forum AWT / Java Swing
    Replies: 0
    Last Post: March 1st, 2014, 04:38 PM
  3. Re: Reading a file line by line using the Scanner class
    By rajaveluswamy in forum What's Wrong With My Code?
    Replies: 3
    Last Post: May 8th, 2013, 03:38 AM
  4. reverse line feed using java printing
    By ranjith. in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 20th, 2013, 09:17 AM
  5. How to print numbers using do while, for loop and if else statement?
    By techlover in forum Loops & Control Statements
    Replies: 1
    Last Post: October 30th, 2012, 02:13 PM