<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tekTech</author_name>
  <author_url>https://blog.hatena.ne.jp/tekTech/</author_url>
  <blog_title>tekTechめも</blog_title>
  <blog_url>https://tektech.hateblo.jp/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>int bytelen1 = s1.getBytes().length; で可能。例） public class test2{ public static void main(String args[]){ String s1=&quot;てすと文字列&quot;; String s2=&quot;TestString&quot;; String s3=&quot;全角ハンカク混在Test&quot;; System.out.println(&quot;s1=&quot;+s1); System.out.println(&quot;s2=&quot;+s2); System.out.println(&quot;s3=&quot;+s3); int len1 = s1.length(); int len2 = s…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftektech.hateblo.jp%2Fentry%2F20040524%2Fp1&quot; title=&quot;文字列の長さ（標準キャラセットでの）の取得方法 - tekTechめも&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2004-05-24 00:00:00</published>
  <title>文字列の長さ（標準キャラセットでの）の取得方法</title>
  <type>rich</type>
  <url>https://tektech.hateblo.jp/entry/20040524/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
