Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    Regular Coder
    Join Date
    Jan 2005
    Posts
    470
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Strange character name

    What is the following character called: 

    I haven't been able to find a reference to it or its equivalent HTML entity code. Don't even know if it will show up in the post correctly.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Where did you see that character? What are you typing to get it to show up? The keyboard code is U+251C and its name is "Box Drawings Light Vertical and Right" and it seems to be unicode.
    Last edited by _Aerospace_Eng_; 12-14-2005 at 08:52 PM.

  • #3
    Regular Coder
    Join Date
    Jan 2005
    Posts
    470
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by _Aerospace_Eng_
    Where did you see that character? What are you typing to get it to show up? The keyboard code is U+251C and its name is "Box Drawings Light Vertical and Right" and it seems to be unicode.
    I was viewing a plain text data feed that mysteriously had that character in various odd places throughout. Trying to figure out what I can do to detect it and get rid of it using PHP code.

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    How was the text data created? Programs like MS Word will make characters like that.

  • #5
    Regular Coder
    Join Date
    Jan 2005
    Posts
    470
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Just a plain text document that has to be read periodically by a PHP script. I am pretty they aren't supposed to be there and I have contacted the creator to see what the problem is. In the meantime I am just trying to figure out how to get rid of them as they are showing up in place of what should be an apostrophy.

  • #6
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,454
    Thanks
    0
    Thanked 632 Times in 622 Posts
    That is the default character that substitutes for each character not defined in the current character set. To fix it change to using a character set that contains the characters you want it to use.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #7
    New Coder
    Join Date
    Feb 2005
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts
    and you do that <changing character set to one that contains the characters you want to use> how? *blink*

  • #8
    Senior Coder
    Join Date
    Nov 2002
    Location
    North-East, UK
    Posts
    1,265
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It can happen if you open an ASCII file in BINARY mode. It usually replaces carridge returns.

  • #9
    Regular Coder
    Join Date
    Jan 2005
    Posts
    470
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Managed to get the person who originally generated the file to fix the problem. Don't know what they did, unfortunately.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •