Re: encoding and content in YML files

"jose isaias cabrera" <[email protected]> Wed, 7 Oct 2015 17:14:03 -0400
Newsgroups gmane.text.yaml.general
Message-ID <5507C84CC67549E9949AD0475E25E967@elimelec>
thanks for the reply...

I know what Unicode and the various UTF-XX formats are.  So, you're missing the "point" ;-) he he he.  Thanks for pointing me to the site referenced below.  That helped me.  Unicode code points are not Unicode display characters, such as ε, φ, é, ñ, α, etc.  they are displayed as codes, such as \u039A, \u03BB, \u03B5, \u03AF, etc. So, in other words, what YAML files need are Unicode code points, \uxxxx, instead of the actual characters. So, why can't YML take the actual characters vs. the Unicode code points?  The reason why I know this is because I gave someone a YML UTF-8 encoded with characters set and the person told me that they appeared as garbage.  Anyway, my personal opinion is that YML suffers by not allowing the characters.

thanks.

  ----- Original Message ----- 
  From: Oren Ben-Kiki 
  To: jose isaias cabrera 
  Cc: Yaml Core 
  Sent: Wednesday, October 07, 2015 12:24 AM
  Subject: Re: [Yaml-core] encoding and content in YML files


  Valid UTF-8 encoding is an encoding of "Unicode code points" :-)


  "Unicode code points" is a technical term - http://gedcom-parse.sourceforge.net/doc/encoding.html is an OK explanation. Unicode code points (or "Unicode characters", if you want to be less formal) are in the range 0 to 10FFFF. Obviously you can't encode one such beast in one byte. Hence, Unicode supports multiple ways of expressing these code points as a sequence of bytes, UTF-8 being one such way to encode them, as are the two UTF-16 (big and small endian) encodings.


  On Wed, Oct 7, 2015 at 12:48 AM, jose isaias cabrera <[email protected]> wrote:


    Greetings!

    I have searched all over the internet for answers, and even on the YAML documentation, c5.2, it's not clear to me. The statement,

    All characters mentioned in this specification are Unicode code points.

    in here,

    http://www.yaml.org/spec/1.2/spec.html#id2771184

    is confusing.  Maybe is because I don't understand what "Unicode code points" means.  So, does this mean that all .yml files can not have characters such as é or ñ, etc.?  I would expect that a valid UTF encoding on the .yml file should be ok to have these unicode actual characters.  Thanks for your support.

    josé

    ------------------------------------------------------------------------------

    _______________________________________________
    Yaml-core mailing list
    [email protected]
    https://lists.sourceforge.net/lists/listinfo/yaml-core

------------------------------------------------------------------------------
Full-scale, agent-less Infrastructure Monitoring from a single dashboard
Integrate with 40+ ManageEngine ITSM Solutions for complete visibility
Physical-Virtual-Cloud Infrastructure monitoring from one console
Real user monitoring with APM Insights and performance trend reports 
Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140

_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core